Screwed up MBR and boot partition, can't fix it [SOLVED]
Hi,
I have been defeated. Been trying to fix my computer the whole day and know I'm lost.
It's a long story, but my whole system got screwed when I tried installing windows on top of arch (I didn't get it to install, but I don't care anymore).
I was able to install GRUB2, I tried configuring it with grub.cfg , but when trying to boot it says it's missing kernel, boot partition has linux2.6, and I was using linux 3, I'm not really sure how to get the kernel I was using, should it be in my root partition? .
I'd like to get my system as it was before, I have root , var and home partitions and not sure how.
Thanks
Last edited by exuberant (2011-12-31 10:27:47)
Thanks for your reply.
I was using Arch, I last updated a few days ago.
The kernel that's on the boot partition is from a debian live cd I had laying around.
It is not possible I have more than one boot partition. I have 1 hard drive, but plenty of free space.
Windows wanted to use the start of my disk, so I used gparted to move 20 gb free space at the beginning. Creating a partition in the beginning also caused all partitions numbers to move up (sda2->sda3), when I gave up on windows, I tried moving everything forward like it was before, but it didn't work. Then I remembered that when installing grub, installers check for other mount points, but that didn't work, and instead overwrote my boot partition. So know I've got a temporary debian system installed(sda9) and a boot partition that won't boot Arch.
This is my fdisk output: sda5 is arch sd6 var and sd7 home
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000080
Device Boot Start End Blocks Id System
/dev/sda1 * 1 12 96358+ 83 Linux
/dev/sda2 13 401 3124642+ 82 Linux swap / Solaris
/dev/sda4 2744 14648 95619073 5 Extended
/dev/sda5 2744 4203 11719680 83 Linux
/dev/sda6 4239 5212 7815168 83 Linux
/dev/sda7 5227 10326 40957952 83 Linux
/dev/sda8 10393 13432 24411136 83 Linux
/dev/sda9 13432 14648 9764864 83 Linux
Similar Messages
-
I Purchase iPad mini retina screen on July 7 2014 at Malaysia local apple sale agent switch store somehow now my iPad did restore to latest iOS 7.1.2, before that and after also facing 1new issue is my iPad mini cant success download apps and error message show can't download at this time, either retry or click done. My internet is good condition no line down, I reboot my iPad only can download but sometime can't need to reboot twice only can download. Very sad local sale and tech support can't help to solve my problem...
Reset the device:
Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
If that doesn't help, tap Settings > General > Reset > Reset All Settings
If that doesn't help, tap Settings > General > Reset > Reset Network Settings
You will have to re enter your Wi-Fi password.
No data is lost due to a reset.
If nothing above helped, try here > iOS: Troubleshooting Wi-Fi networks and connections -
From time to time when I click a searched link the color of visited links does not change. It works fine after I delete history and cookies. Can I fix that. I am using windows XP. Thanks
Here's the error message I get.
Note the TC is connected to my Airport Extreme via ethernet and my iMac is also connected to the AX via ethernet so it's not a wifi issue.
I can see the TC in the finder so it's not 'gone' from the network either.
Also note that just then the TM system pref pane was claiming a backup error, citing my 'network password' and still refusing to backup. I waited 5 minutes and did some tidying of my office while I pondered this and then tried again and voila it worked ok. -
Since updating to iOS 6.0, my Facebook and instagram both don't work. Any ideas as to why and how it can be fixed ASAP?
Since updating to iOS 6.0, my Facebook and instagram both don't work. Any ideas as to why and how it can be fixed ASAP?
-
my inbox indicates a message is receive but all my message are open and so how can I fix this that the inbox will not indicate that I receive a message. It shows that I received one message?
lbryan1987 wrote:
I dont want the button problem solved i need to know how to restore the phone without using that button or going into settings
You don't in the condition it's in. You will either have to get the phone replaced by Apple or pay a 3rd party to repair it.
there seriously should be more than two ways to solve this other wise apple is useless and we will never buy another apple product.
Seriously? It's physically broken! -
My iphone cycles on and off how can I fix this
My iphone cycles on and off how can I fix this?
Basics from the manual are restart, reset, restore.
Try these. -
When I try to File > Save As on an .FLV movie, Firefox automatically changes the filetype to .mp4 while Chrome for instance retains the .FLV file type. I wanted to see why this is and how it can be fixed to work similarly to Chrome. Thanks.
If that file is an FLV file then Firefox should save it as such and not change the file extension.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.org/kb/Safe+Mode
See also:
*http://kb.mozillazine.org/File_types_and_download_actions
*https://support.mozilla.org/kb/Managing+file+types -
i have restored my iphone 5 (6.1.4) and now im activating it says disconnect and reconnect how can i fix the need help fast
What you me
-
My ipod nano has a white screen and beeps twice, Can i fix it?
I left my ipod in my pants and they went througth th washer and dryer, I put them in white rice for two days and it still has the white screen and beeps twice, Can i fix it?
Hello Emmuhhlieee,
Thanks for using Apple Support Communities.
For more information on this, take a look at:
iPod nano (6th generation): Hardware troubleshooting
http://support.apple.com/kb/ts3474
Display shows a white screen
Try putting the iPod into disk mode:
Reset the device (press the Sleep and Volume Down buttons simultaneously until the display turns black—about eight seconds).
When the display turns black, hold down the Volume Down and Volume Up buttons simultaneously until the device enters Disk mode.
While the device is in disk mode, sync it to iTunes and try to restore.
Best of luck,
Mario -
Solaris Install overwrote MBR and first partition
I have an ABIT mobo with VIA chipset and a Sempron 2500 CPU, and WD 120 GB SATA drive. Not top of the line, but I'm on a budget. I have the SATA partitioned for multibooting, and I use XOSL multibooter. I have 3 OS's already, and several other partitions for backup. I was planning on installing Solaris on another extended partition. Kinda slow... kinda slow... hard to see the text on the monitor. Oh, the unofficial installation instructions says I should already have the partition set up, and recommends I use Ranish Partition Manager. Ranish is my favorite PM, so I quit the install, reboot to DOS, and set up a partition with Ranish. Hmmm. Solaris isn't a file type. What to do, what to do. Later in the installation instructions, it talks about the installer partioning the hard drive, so maybe I don't have to do it here. I'l leave this partition as FAT32, maybe Solaris will convert it, or I can use it for another backup, or data, or another OS. I exit and reboot to the install. Kinda slow, kind slow... now I don't see the dark text at all. Hmmm, reboot, restart. I get past the first few screens, but then it's just blank. I kick out the disk and reboot to .... nothing. now it won't boot to the hard drive. I reboot from floppy, the hard drive isn't there. Hmmm. Back to Ranish. The first partition (FreeDOS) has no data files in it, and is the wrong size, extending into the second partition space. The second partition isn't there, and there is unused space between the first and third partitions. Exit Ranish and go into PTS Disk Editor. Luckily I wrote down the hex code for the partition table, so I fix it back the way it should be. What was Solaris doing overwriting my MBR and partition table? I hadn't gotten to that point in the install yet to set up a new partition. Reboot, still nothing. Restore the MBR (I saved that too, plus the 62 sectors following). Reboot. Still nothing. Oh yeah, my FAT from partition 1 is gone, and who knows what else. What was Solaris doing overwriting that partition? Back to Ranish. Set partition 2 (Windows 2000) as my boot partition. Reboot. Phew! At least that comes up. I'm not too happy with Solaris trashing my MBR, partition table, and first partition. Yeah, yeah yeah, it won't be too hard to restore it. I'll assume my Linux is still working, although I haven't tried it yet. I think I'll wait to install Solaris until after I have a new, clean disk, and I'll be sure to disconnect this one until after the install is complete. Sorry Sun, your once-solid reputation has bounced down a few steps on this one.
this post on ranish.com does confirm that solaris overwrites the MBR. Please let me know what u did to overcome the problem because i want to install Solaris on a hard drive partition with XP on the other partition. Thanks,
Utpal
Can I boot Solaris 9?
=====================
Yes. You can. But you need to keep the following in mind:
1. Don't use the 'Installation CD'. It is not required. You might have problems if you
use this CD. Start with Software CD1.
2.If your software installation/booting fails with ACPI error, follow the instructions at:
http://access1.sun.com/FAQSets/Solarisx86FAQs.html (Q12)
(I did not get this error)
3. After installing CD1, you need to boot from the harddisk (solaris 9 would have overwritten
your MBR � Don't worry about this now; just proceed with the installation). Once it is booted
off the disk, after going thru few initializations again, it will prompt you to insert the second CD.
Insert CD2 and complete the installation.
4. Now, you can restore the RPM MBR. -
[SOLVED] My /home and /boot partition show on my desktop; not mounted
I'm guessing these two fie systems aren't mounted and the computer is seeing them as separate volumes?
So I guess I made a mistake during the install. This kind of explains a few things because when updating my kernel GRUB wasn't being updated as if the /boot partition wasn't mounted. I had to completely reinstall GRUB to have it point to the right kernel.
Is there a way to fix this and get these mounted how they need to be? Probably something with my fstab file?
When I installed I mounted my root, created /mnt/boot and /mnt/home, then mounted those to their own partitions that I had created.
I generated my fstab and checked it, and everything looked fine. I just don't know why everything else is just fine, but /boot and /home aren't mounted?
My partition scheme is GPT and looks like
/dev/sda1 -- bios boot
/dev/sda2 -- /boot
/dev/sda3 -- /
/dev/sda4 -- /swap
/dev/sda5 -- /home
I used UUIDs if that makes any difference.
Thanks.
Last edited by stevenmw (2014-11-06 16:41:12)All right. I did what bstaletic said, and performed option 3 of his suggestions. My fstab file is restored but now when I start lightdm I get to my login screen, login, and have a black screen with just a cursor. All I did was run the install media, mount each partition (starting with root first). Then I turned my swap on.
After that, I ran
genfstab -U -p /mnt > fstab
I checked the fstab file, it looked like this
# /dev/sda3
UUID=c2d39ee2-e1c4-4989-9937-91fad2951d67 / ext4 rw,relatime,data=ordered 0 1
# /dev/sda2
UUID=9cd92417-c4c0-40c7-9de3-3b65b896e36b /boot ext2 rw,relatime 0 2
# /dev/sda5
UUID=db8633d3f-0cb2-49dc-9792-356ad37ace58 /home ext4 rw,relatime,data=ordered 0 2
# /dev/sda4
UUID=00d4f1cd-cc6c-4dd3-B4c7-67da333205ea none swap defaults 0 0
So I unmouted everything and turned swap off and went back into my system. The fstab file matched the output above. I started lightdm so i could get into xfce to see if the volumes were no longer on my desktop. However, now I get a black screen with a cursor. I let it sit for a while, but I ended up going into a tty and rebooting. Same issue. Black screen and cursor. I can see and login to lightdm just fine, but not my xfce DE.
I did try reinstalling lightDM and xfce4 and xfce4-goodies. Not xorg though. I'll try reinstallign it and see what that does.
Last edited by stevenmw (2014-10-15 20:01:51) -
Lost recovery partition, can be fixed?
Hi guys! i just buy a new P845-S4200 notebook and i try to create a new partition from 750GB with Acronis Disk Doctor and unfortunetly all my hdd crash, and all partition disapear.. i try to recover but not working..
the only solution was to delete all partitions and create new ones with a win7 dvd .. but i want to have my partitions with windows 7 x64 licence and all the drivers..
can anyone help me with and hdd image partions or other solution?
i also have big problme with wifi, only driver that work is Intel Wireless LAN Driver(v15.0.1.1; 02-13-2012; 8.49M)
and wifi apear Intel centrino N200 but the association with my AP not working, also with another AP..same problem..
with win7 that laptops arrive it works..
Thank you!Satellite P845-S4200
If you failed to create recovery discs, order them from Toshiba.
Order Toshiba Recovery Media
For an explanation of all this, see the section Recovering the Internal Storage Drive, which begins on p. 54 of the User's Guide. See p. 68 for how to restore from the recovery media.
Satellite/Satellite Pro P800 Series User’s Guide
Restoring the hard disk to its original out-of-the-box contents using Toshiba recovery media will replace the partition with the image of the hard disk and should fix the WiFi.
-Jerry -
I am trying to use the copy and paste function on a website and I get a message window that states that firefox does not allow cut/copy/paste. I followed the link for help and created the js. text file like instructed with the website's URL. I still can not copy and paste. I can copy and paste on this website with internet explorer, but not with firefox. I can not perform all the website functions with the internet explorer brower and switching back and forth from browser to browser is very time consuming and a hassle. Please help me solve this issue.
Try this using extension - Allow Clipboard Helper - it makes that a lot easier to do and lessens the incidence of user error. <br />
https://addons.mozilla.org/en-US/firefox/addon/852 -
HT4623 apple on phone keeps flashing on and off, how can i fix this?
I did an update and now the phone just keeps flashing an apple. How can I fix this issue?
connect to a computer with itunes and restore phone, before you connect the phone to the computer get the phone off and hold the home button while you connect the phone to the computer and you want to keep holding the home button till the phone shows the connect to itunes. ITunes then will say that if found a device in recovery mode.
-
My macbook has got stuck in a reinstalling loop with mavericks and cannot be utility can't fix it. nothing was backed up. I have an empty external drive formated extended journal and am attempting to recover them thru directory but the usual command of diskutil did not recognize the verb "mount/dev/disk1" at the top of the directory it says -bash-3.2hashtag (I don't have the symbol on this pc). so I am unable to mount my hard drive (how do i even know if its unmounted?) can anybody help me please
My hotmail was working properly until one month ago , then I do not what happens ... My mistake has been to cancel that account and try to re-load it... I am blocked at "unable to verify account details".
I read and follow carefully all your steps here above but it is not working!!
I also try to ask securiry code to mocrosoft and put it instead of hotmail password when creating new Ipad account but nothing.
I try to go everywhere on microsfot pages and on my mail account setting but I can not find any help from there. From PC is working
I try to choose "other" from the list of account and insert there hotmail account, both indicated adsHOTMAIL or OUTLOOK, but in this case it tells me "username or password for POP3.live.com are uncorrect.... what is POP3.live.com??
I already try everything find in the net here and elsewhere ... I have hotmail account since years can not thik to change it .... Some other help?? Some indication I have not yet try?
Why does not appear OUTLOOOK from the choice of default account in the "add account section"????!??!????
Maybe you are looking for
-
Performance Issue Executing a BEx Query in Crystal Report E 4.0
Dear Forum I'm working for a customer with big performance issue Executing a BEx Query in Crystal via transient universe. When query is executed directly against BW via RSRT query returns results in under 2 seconds. When executed in crystal, without
-
Adobe Creative Suite 5 Production Premium on Mac
I am about to purchase the current MacBook Pro: 13" 2.4 GHz Everything in it will be standard. In the Minimum requirements for Adobe Creative Suite 5 Production Premium it says I need a mac with 7200 RPM hard drive for editing compressed video format
-
Creating SQL Query to determine similar customers
I have a table that contains two columns: CustomerID and ItemID. There are 480 CustomerIDs and more than 5000 ItemIDs. The table shows what all items have been bought by each customer. I need to write a procedure where i can determine which all custo
-
Itunes movies and tv shows that i purchase won't play smoothly on my laptop even after installing updates. Not sure what the problem is.
-
How to download a previous purchase, it says open under the app
How do I download a previous purchase when it says open under app not the down load symbol