Hi all,
****** I transfer data to a new harddisk* ,and use LVM . when it boots up* ,the root is mounted as ext2 ,the real filesystem is ext4 ,how should I do ?
here is /etc/fstab
/dev/sda5************** /boot********** ext3*********** noatime******** 0 1
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#* use almost no memory if not populated with files)
shm******************** /dev/shm******* tmpfs********** nodev,nosuid,noexec**** 0 0
and menu.lst* the initramfs* I use genkernel
*title Gentoo Linux 2.6.34-r1 LVM
root (hd0,4)
kernel /boot/kernel-2.6.34-gentoo-r1 dolvm root=/dev/ram0 real_root=/dev/sysvg/root rootfstype=ext4 init=/linuxrc* splash=silent,theme:emergence console=tty quiet
On 12 August 2010 11:22, sam new <maoben1234@gmail.com> wrote:
Hi all,
****** I transfer data to a new harddisk* ,and use LVM . when it boots up* ,the root is mounted as ext2 ,the real filesystem is ext4 ,how should I do ?
here is /etc/fstab
/dev/sda5************** /boot********** ext3*********** noatime******** 0 1
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#* use almost no memory if not populated with files)
shm******************** /dev/shm******* tmpfs********** nodev,nosuid,noexec**** 0 0
and menu.lst* the initramfs* I use genkernel
*title Gentoo Linux 2.6.34-r1 LVM
root (hd0,4)
kernel /boot/kernel-2.6.34-gentoo-r1 dolvm root=/dev/ram0 real_root=/dev/sysvg/root rootfstype=ext4 init=/linuxrc* splash=silent,theme:emergence console=tty quiet
Yes, google. With 'rootfstype=ext4 initrd genkernel' the first hit shows
bug #221245 (rootfs is incorrectly mounted as ext2). I assume you have
ext4 compiled as module?
Wonko
08-12-2010, 11:48 AM
sam new
root in LVM with ext4 as mount ext2
thanks, I have google yet maybe wrong keywords ,yes i compiled as module,does it comiled in kernel can slove the problem?
On 12 August 2010 19:32, Alex Schuster <wonko@wonkology.org> wrote:
sam new writes:
> any one help?
Yes, google. With 'rootfstype=ext4 initrd genkernel' the first hit shows
bug #221245 (rootfs is incorrectly mounted as ext2). I assume you have
ext4 compiled as module?
* * * *Wonko
08-12-2010, 11:54 AM
sam new
root in LVM with ext4 as mount ext2
I have check it again ,I compile it into the kernel
*On 12 August 2010 19:32, Alex Schuster <wonko@wonkology.org> wrote:
sam new writes:
> any one help?
Yes, google. With 'rootfstype=ext4 initrd genkernel' the first hit shows
bug #221245 (rootfs is incorrectly mounted as ext2). I assume you have