Originally Posted by
apple pie maker
I read about GRUB and decided to upgrade from legacy to GRUB2. When I rebooted, I got an "error 15" message; according to one of the help pages GRUB2 does not return numbered error messages - so I must still have legacy GRUB, right? Advice from another place had me run /boot/grub/menu.lst, but that returned a "no such file" message. Further research found a page that said menu.lst was in only GRUB legacy and was replaced in GRUB2 - so I must have GRUB2. right? "grub-install -v" returns GNU GRUB 1.98-1ubuntu13 now; before I tried to upgrade, it returned 0.97. My general experience is that only about half of the various recommended commands work on my machine. I tried Boot Repair, too. It blamed the problem on a nearly full partition - which may be true for Pangolin, which is not the OS that I'm trying to restore - and it could not remove the problem files (which is what it seemed to want to do). Boot Repair had me enter 3 lines of code to force purge GRUB, but I got a message of "no such file or directory" for "apt-get" and for "dpkg". I also tried to reinstall GRUB2, but the machine refused and said it was already in place.
In three weeks of this, I have lost about 30 hours.
If I reinstall 10.04 from the disk again, will that erase the apparently defective GRUB and replace it with a clean one?
since last time i checked your post it looks like you have run a lot of different commands thjat may have changed grub.
Lets see if this works:
1. plug only the hhd with linux installed not both
2. boot into a live ubuntu cd
3. Run this commands (if the terminal askes you for a password just press ENTER)
Now pay attention to the output! If the disk name is /dev/sdf , then just follow the nest commands. If your hdd name has changed yo something else (/dev/sda,/dev/sdb etc) then use the next command by changind /dev/sdf into /dev/sda, or /dev/sdb etc..same goes for /dev/sdf1> /dev/sda1 ! just change the letter "f" to the appropiate letter givend by the command.
4.
Code:
sudo dd if=/dev/null of=/dev/sdf bs=446 count=1
sudo mount /dev/sdf1 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo grub-install /dev/sdf
sudo grub-install --recheck /dev/sdf
sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt
sudo reboot
5. boot into ubuntu 12.04 and in the terminal run
6.reboot and see if you find 10.04
reference:http://www.webtechquery.com/index.ph...-from-live-cd/
------------------------------------------------------
if everything fails , then just reinstall ubuntu 10.04 from scratch. Choose option: "erase everything and install ubuntu"
Bookmarks