This is strange. I moved OS 11.1 from an old 150 GB PATA drive over to a 500 GB SATA using Parted Magic. The old and new partitions were
OLD:
/dev/sda1 - 19.99 GB, mounted as / (root partition)
/dev/sda2 - 97.82 GB, mounted as /home
/dev/sdb1 - 29.52 GB, Windows XP
NEW:
/dev/sda1 - 29.30 GB, mounted as /
/dev/sda2 -292.97 GB, mounted as /home
/dev/sda3 - 45.82 GB, Windows XP
I used the “Clonezilla” tool on the Parted Magic live CD to move and resize the partitions. To my delight, everything appeared to transfer just fine. I can boot into OpenSUSE 11.1 (though not into Windows, but that’s not really important; I’ll figure that out later), but my /home partition won’t mount. I’m set to autologin, and I get the expected error: “can’t access /home/stephen” (or something like that).
Here’s the weird thing. I can ALT-F3, get a terminal and manually “mount /dev/sda2 /home”, go back to ATL-F7 and log right in, so I know the disk is fine. (I’ve already 'fsck’d everything, by the way, and they’re clean.) I’ve used Yast’s partitioner about a dozen times, trying “device by ID” and other settings. I always get the same thing when I reboot.
Here’s what’s REALLY weird. On this last reboot, when it refused to log into /home, I ALT-F3’d, logged in as root, did a “cat” on “/etc/fstab” and entered the device-by-id line exactly as I saw it there … … and it mounted the /home directory just fine! ALT-F7, logged into KDE. I’m typing this in KDE now. Works fine.
This isn’t a huge problem … I so rarely need to reboot this machine that I can manually mount the /home partition, if need be, but (obviously) I’d like it to be mounted automatically during the boot.
Here’s my /etc/fstab:
/dev/disk/by-id/ata-Hitachi_HDP725050GLA360_GEA534RV0DJ4LA-part1 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/ata-Hitachi_HDP725050GLA360_GEA534RV0DJ4LA-part2 /home ext3 acl,user_xattr user,acl,1 2
/dev/disk/by-id/ata-Hitachi_HDP725050GLA360_GEA534RV0DJ4LA-part3 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
(Sorry for all the space in there; Yast’s partitioning tool obviously likes a lot of whitespace!)
I don’t see anything obviously wrong here. The fact that I can take that second line and do a manual “mount” shows me that the device ID is at least correct. Any ideas?
Thanks in advance.
EDIT: Just to be clear, here’s what I entered in virtual terminal 3 as root to get my home partition to mount:
mount /dev/disk/by-id/ata-Hitachi_HDP725050GLA360_GEA534RV0DJ4LA-part2 /home
… and it worked fine. Exact same line.