Multiple grub menu.lst?
Charlie Zender
zender at uci.edu
Sun May 4 15:39:04 UTC 2008
First, thank you everyone who has tried to help.
I'm in Europe and was sleeping while most posted.
Back at it now.
> Resolve the host first:
>
> gksu gedit /etc/hosts
>
> Now edit:
>
> 127.0.0.1 localhost virga
> 127.0.1.1 virga
>
> save. And then:
>
> sudo /etc/init.d/networking restart
Done. hostname is now resolved.
> Now try your commands and they should work.
mount fails as before
root at virga:~# sudo mount /boot
mount: /dev/sda1 already mounted or /boot busy
> Now, from a terminal do as Aart suggests:
>
> sudo update-grub
Done
System still shows the old (gutsy) kernels on the console
and boots into 2.6.22 even though /boot/grun/menu.lst has
hardy kernels.
> And if you still have problems:
> sudo grub
> grub> find /boot/grub/stage1
> grub> quit
grub could not find this:
grub> find /boot/grub/stage1
Error 15: File not found
grub> quit
> "grub>" is the internal grub prompt, you don't type that in.
>
> Note the location that find '/boot/grub/stage1' returns then quit. It
> should look something like this:
>
> grub> find /boot/grub/stage1
> (hd0,0)
>
> Post the results of that *and* the results of:
>
> sudo fdisk -l
root at virga:~# fdisk -l
Disk /dev/sda: 98.5 GB, 98522403840 bytes
255 heads, 63 sectors/track, 11978 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x41ab2316
Device Boot Start End Blocks Id System
/dev/sda1 * 1 31 248976 83 Linux
/dev/sda2 32 11978 95964277+ 5 Extended
/dev/sda5 32 11978 95964246 8e Linux LVM
--
Charlie Zender, Department of Earth System Science, UC Irvine
Sab. at CNRS/LGGE-Grenoble until 20080815 :) 011+33+476+824236
Laboratoire de Glaciologie et Géophysique de l'Environnement
54 rue Molière BP 96, 38402 Saint Martin d'Hères Cedex, France
More information about the ubuntu-users
mailing list