![]() |
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.lstCode:
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 bytesCode:
915resolution.mod efiemu64.o lspci.mod reiserfs.modso 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.cfgCode:
df -h |
Code:
Filesystem Size Used Avail Use% Mounted onCode:
df -h |
Quote:
|
| All times are GMT -5. The time now is 07:49 PM. |