Hi!
I’m migrating my OpenSuse 11.3 (which was update from 11.2, 11.1 … ) to a new hard drive. My partitions were reiserfs and in the migration I’m “converting” them to ext4, the conversion process is simple and it works fine for all of them except the root one:
- I create a new partition on the new hard disk (bigger than the original one)
- I format it with ext4
- I copy all the data with cp -a from the original partition to the new one
I already have all the partitions migrated to the second disk, then I have tried to do it with the root partition:
-I’ve booted with a system rescue CD and I’ve done !9 2) and 3) with no problems.
-I’ve edited and changed al entries in fstab and grub conf (menu.lst) to point the new partitions
-I’ve reinstalled grub and it seemed It will be no problems booting, but
It begins booting, the grub menu appears, It begins booting the kernel, but suddenly:
waiting for /dev/root to appear: OK
fsck.reiserfs -a /dev/sda2
…
mount -o ro,ad,user_xattr -t reiserfs /dev/root /root
and it fails, because sda2 is not reiserfs, but why does it try to mount it as reiserfs if I’m not saying anywhere it is reiserfs?
this is my fstab:
#/dev/disk/by-id/ata-ST3160211AS_6PT0V05Y-part2 / reiserfs acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD5000AADS-00S9B0_WD-WCAV91599607-part2 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD5000AADS-00S9B0_WD-WCAV91599607-part1 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD5000AADS-00S9B0_WD-WCAV91599607-part3 /home ext4 defaults 1 0
/dev/disk/by-id/ata-ST3500630A_9QG94AT1-part1 /mnt/backup auto noauto,defaults,users,exec
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
/dev/sr1 /media/dvd auto noauto,ro,user,exec,iocharset=utf8 0 0
/dev/sr0 /media/dvdram auto noauto,ro,user,exec,iocharset=utf8 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
none /proc/bus/usb usbfs devgid=113,devmode=664 0 0
and this is my /boot/grub/menu.lst
# Modified by YaST2. Last modification on jue feb 10 15:51:15 CET 2011
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader
default 0
timeout 20
gfxmenu (hd0,1)/boot/message
##YaST - activate
###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.3 - 2.6.34.7-0.7
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.7-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00S9B0_WD-WCAV91599607-part2 repair=1 resume=/dev/disk/by-id/ata-WDC_WD5000AADS-00S9B0_WD-WCAV91599607-part1 splash=silent showopts vga=0x31a
initrd /boot/initrd-2.6.34.7-0.7-desktop
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3 - 2.6.34.7-0.7 (desktop)
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.7-desktop root=/dev/disk/by-id/ata-WDC_WD5000AADS-00S9B0_WD-WCAV91599607-part2 showopts ide=nodma apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x31a
initrd /boot/initrd-2.6.34.7-0.7-desktop
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.3 - 2.6.34.7-0.7
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.7-default root=/dev/disk/by-id/ata-WDC_WD5000AADS-00S9B0_WD-WCAV91599607-part2 repair=1 resume=/dev/disk/by-id/ata-WDC_WD5000AADS-00S9B0_WD-WCAV91599607-part1 splash=silent showopts vga=0x31a
initrd /boot/initrd-2.6.34.7-0.7-default
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3 - 2.6.34.7-0.7 (default)
root (hd0,1)
kernel /boot/vmlinuz-2.6.34.7-0.7-default root=/dev/disk/by-id/ata-WDC_WD5000AADS-00S9B0_WD-WCAV91599607-part2 showopts ide=nodma apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x31a
initrd /boot/initrd-2.6.34.7-0.7-default
I’ve booted it also with SuperGrub2 disk and the same thing happened, so I think it’s not a grub problem but I don’t wknow why it tried to mount the root partition as reiserfs.
Any ideas?
regards