XP on internal drive wouldn't boot w/out Linux external one attached; now not at all
A few days ago I downloaded and burned the Ubuntu 9.10 live disk. I wanted to install it onto a portable external drive attached to my desktop so as not to mess with others who use the internal drive for XP. When I installed it I made sure the internal drive wasn't touched, and only used the blank external one. I made the external drive bootable with the disk utility, restarted everything and Grub was very cooperative in letting me pick an OS. But when i tried to start the computer without the external drive (to get into XP) because i want the linux drive to be portable, Grub tried to boot, said "Error: no such disk" and wouldn't access the internal C: drive top start up Windows. I googled for help, installed lilo (maybe not properly) on the portable drive, and when that didn't work installed grub on the C: drive. Now when i turn on the computer i get Grub saying it has a GEOM error and that i need to replace a disk. This happens in every case i could think of besides booting from the live Ubuntu CD. Can anyone help? I have some family members very mad at me about this.
Also, the external drive doesn't boot linux up when attached to other computers. |
It sounds like you managed to install grub on the internal drive. All is not lost. You can either spend a bunch of time learning all about grub somewhere, or you can do the following: Download a copy of Super Grub Disk and install it on a CD as an image. Boot the machine from that CD and select the automatic option. It should be able to fix grub for you. I'm not sure whether it will automatically put an entry in for you for XP, but I'm betting it will.
|
Won't work if the external is broken. Better to get the machine booting from the internal.
Boot your XP install CD and select recovery centre when it says to. Run fixmbr and reboot. You can then use the liveCD to check out the external. |
i don't think the external is broken, because i can still access all the files from another computer; it just isn't booting.
i've tried downloading a super grub disk .iso, but whenever i go near a site with the download my internet slows down to nothing. any ideas? |
Quote:
http://www.supergrubdisk.org/index.php?pid=5 This mirror from that page is, I believe, in the US. The other two are in Germany, so maybe that's the problem for you. http://download.linux-live-cd.org/Su...ies/sgd/cdrom/ Added: You probably want this file unless you either have Linux or want to download the bzip program first. It's only 3.9 MB which isn't a large file. http://download.linux-live-cd.org/Su...isk_0.9677.iso |
There's another question, though, are you sure that your BIOS is setup to boot from the internal drive? Did you change that when you were doing all the other stuff?
|
i got the download going fine, ran super grub and started a linux recovery something or other. i ran the fix errors option and updated the grub and now linux will boot up. i get a grub screen asking me to pick normal unubtu, a second ubuntu that's a backup or something, two memory check options, and windows XP. However, i can only choose the first ubuntu option, even though the others are recongized.
|
Added:
Quote:
Original: OK, at least this is something. Bring up a terminal in Ubuntu and let us see the results of the following: Code:
cat /boot/grub/menu.lst Code:
mount -o ro /dev/sda1 /mnt |
i pasted the code into the terminal and i got
cat: /boot/grub/menu.lst: No such file or directory in response i take it this isn't supposed to happen? i ran it anyway; what part of the code do you want? |
it can see all of my disks and partitions. Windows is on /dev/sda1, like in your example code so i ran
sudo mount -o ro /dev/sda1 /mnt and the terminal said "the device or resource is busy" |
Quote:
Code:
ls /boot/grub |
Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes Code:
915resolution.mod efiemu64.o lspci.mod reiserfs.mod so there's a grub.cfg i switched menu.lst for grub.cgf and here's the output: Code:
# |
Wow, that's a lot of stuff in there compared to mine. So, let's see the contents of grub.cfg to see what SGD found. It should be a plain text file with configuration information in it.
Code:
cat /boot/grub/grub.cfg Code:
df -h |
Code:
Filesystem Size Used Avail Use% Mounted on Code:
df -h |
Quote:
|
OK, /dev/sda1 is mounted on "/media/DED8216ED82145DD". You can take a quick look at it and verify that it's OK, but I can't think of any reason it wouldn't be, since it mounted.
Looking at your df -h, I see that "/" is mounted on /dev/sdb5. That still indicates to me that you have changed the BIOS so that SDB is the boot drive. I'd check the BIOS and see if you can set it back to SDA, which I take to be your internal drive. With any luck, it'll boot, unless I've skipped over something when reading your post. Otherwise, you'll have to follow syg00's and yancek's advice to boot from a recovery disk and run fixmbr or fixboot. Added: Still, I'm surprised it won't boot from grub, unless you've really made a hash of the XP drive. |
will it matter if the Startup CD i use is for a different edition of XP than is on the hard drive?
|
PHP Code:
|
It shouldn't matter which version of XP you use for the fixmbr program.
Generally, you can get into the BIOS by holding down the delete key when you first power it on. Generally the arrow keys move you around in the menus. On the systems I've seen, the second menu structure contains the boot order. Just to verify, what happens when you try to boot without the external drive attached? If you get grub errors, then yes you will need to run the fixmbr program. |
yeah i get grub errors. i'll run fxmbr and see what happens
|
i can't find an xp boot disc anywhere, any idea where i can download one? well, actually that's not true. i got one and i can use it to boot windows, but i can't enter recovery mode from it. (i used it in another computer that said the file hal.dll was missing or corrupt on the disc)
i think it's also useful to mention that Windows recognizes my C: drive (the external one) as a USB drive, and my windows-compatible partition of my USB drive (E: ) as the Local Drive |
All times are GMT -5. The time now is 09:32 AM. |