amckenzie
December 10th, 2010, 03:46 PM
So yesterday I grabbed an old laptop (a Dell Latitude D600) and installed Ubuntu 10.10 from the CD. Straight from the CD, it worked fine, including a reboot. I then ran an update, and now booting gives me the following message:
GNU GRUB version 1.98+20100804-5ubuntu3
Minimal BASH-like line editing is supported. For the first word,
TAB lists possible command completions.
Anywhere else TAB lists possible device or file completions.
grub>
I was able to get it to boot into ubuntu manually, and then things worked fine (at least until I rebooted, and had to go through the whole thing again). To get it to boot I used this:
set prefix=(hd0,1)/boot/grub
set root=(hd0,1)
insmod (hd0,1)/boot/grub/linux.mod
linux /vmlinuz root=/dev/sda1 ro
initrd /initrd.img
boot
However, I discovered when I got into the system that /boot/grub/menu.lst didn't exist, and neither did /boot/grub/grub.cfg.
I don't care too much about that system -- it's got some other problems -- but my new laptop arrived this morning, and I'd like to make sure I'm not going to render the system unusable by installing Ubuntu. Can anyone point me to directions for reinstalling grub from scratch, or at least causing it to regenerate all those files and coming up with a config that works?
Thanks!
GNU GRUB version 1.98+20100804-5ubuntu3
Minimal BASH-like line editing is supported. For the first word,
TAB lists possible command completions.
Anywhere else TAB lists possible device or file completions.
grub>
I was able to get it to boot into ubuntu manually, and then things worked fine (at least until I rebooted, and had to go through the whole thing again). To get it to boot I used this:
set prefix=(hd0,1)/boot/grub
set root=(hd0,1)
insmod (hd0,1)/boot/grub/linux.mod
linux /vmlinuz root=/dev/sda1 ro
initrd /initrd.img
boot
However, I discovered when I got into the system that /boot/grub/menu.lst didn't exist, and neither did /boot/grub/grub.cfg.
I don't care too much about that system -- it's got some other problems -- but my new laptop arrived this morning, and I'd like to make sure I'm not going to render the system unusable by installing Ubuntu. Can anyone point me to directions for reinstalling grub from scratch, or at least causing it to regenerate all those files and coming up with a config that works?
Thanks!