Re: /dev/hda7 -> /dev/hda8
From: Vilmos Soti (vilmos_at_vilmos.org)
Date: 08/27/03
- Next message: Eric Moors: "Re: reset mbr by lilo"
- Previous message: David: "Re: Will not Boot from CD Rom"
- In reply to: Alex Mizrahi: "/dev/hda7 -> /dev/hda8"
- Next in thread: Alex Mizrahi: "Re: /dev/hda7 -> /dev/hda8"
- Reply: Alex Mizrahi: "Re: /dev/hda7 -> /dev/hda8"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Aug 2003 22:36:54 -0700
"Alex Mizrahi" <pmiz@etel.dn.ua> writes:
> i've added partition so linux moved. i did setup loader so it uses correct
> one and passes root=/dev/hda8 to kernel( i tried both lilo and aspldr).
>
> kernel starts to boot, but then breaks:
>
> EXT2-FS Warning: check time reached: running e2fsck is recommended
> VFS: Mounted root( ext2 filesystem)
> Journalled Block Device drive loaded
> VFS: Can't find ext3 filesystem on dev ide0(3,7)
> mount: Mounting /dev/hda7 on /sysroot failed: Invalid argument
The problem is that init after the filecheck wants to remount
your / rw, but the info in /etc/fstab tells the old value.
Boot with the following command (intelligently suited to your needs):
linux root=/dev/hda8 init=/bin/bash
They you will get a bash prompt very early. Remount the filesystem
read/write.
mount -o remount,rw /
It is possible that it won't work, and in that case, use
mount -o remount,rw /dev/hda8
Modify your /etc/fstab. Change the line which refers to your root.
*VERY IMPORTANT* change the filesystem back to ro:
mount -o remount,ro /
sync
exit
And hopefully it will work. Maybe an additional "rw" parameter on the
lilo command line eliminates the whole remount stuff, but I have
never done it that way.
Vilmos
- Next message: Eric Moors: "Re: reset mbr by lilo"
- Previous message: David: "Re: Will not Boot from CD Rom"
- In reply to: Alex Mizrahi: "/dev/hda7 -> /dev/hda8"
- Next in thread: Alex Mizrahi: "Re: /dev/hda7 -> /dev/hda8"
- Reply: Alex Mizrahi: "Re: /dev/hda7 -> /dev/hda8"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|