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

Re: new hard drive



On 9/24/05, Alvin Oga <aoga@mail.linux-consulting.com> wrote:
>
>
> On Sat, 24 Sep 2005, [ISO-8859-1] Kudret Güler wrote:
>
> > 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
>
> you do NOT edit /etc/mtab .. leave it alone
>
> good if you fixed /etc/fstab
>
> -----------
>
> if you're using lilo, edit /etc/lilo.conf to root=/dev/hdb1
> and remove /boot/map
> and rerun lilo  ( which will create a new /boot/map file )
>
> and make 100% sure oyu know how to boot the system from floppy
>   or cdrom or usb or ?? in case it complains about lilo
>
> if you're using grub, edit /boot/grub/menu.lst ..
>         if you have a /etc/grub.conf or /boot/grub/grub.conf,
>         change it too
>
>         remove /boot/grub/device.map  and do grub-install /dev/hda
>         or leave both of these 2 steps out and see if it still boots
>         as it should still work since hd0 is still the original /dev/hda
>
> c ya
> alvin
>
>

Thanks for the quick response. And I am sorry for the confusion. Let
me make it clearer.

On current hda there is a debian installation B, and it already saw
the debian installation A which was on old hda1(new hdb1). Current
grub is the grub on debian installation B on current hda.

So I guess I do not need to touch any grub conf file in the debian
installation A. right?

Currently I have undone the change in mtab. fstab is fixed. still
having the error.



Reply to: