[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: new hard drive



Kudret Güler wrote:
> 
> Hi all, yesterday I had only one hard drive.
> hda1 /      #debian installation A
> hda5 /home
> 
> Today this hard drive is hdb with the same structure. On hda there is
> grub installed pointing to debian installation A as well as other
> entries. When I try to load debian installation A, currently I am
> having kernel panic after an error: "VFS can't find ext3 filesystem on
> dev hda1"
> 
> Question: Which files should I edit to let linux know that it is on hdb now?
> I already edited fstab and mtab
> thank you

Probably, just /boot/grub/menu.lst needs to be updated.

Take a look at the kopt= and groot= entries in the Default Options
section, and correct them to reflect your new drive configuration - but
don't uncomment those lines as warned in the file.

Then, as root, run 'update-grub', which will use the default values you
just changed to update the boot menu entries further down in the
menu.lst file.

Tom



Reply to: