https://bugzilla.novell.com/show_bug.cgi?id=786042 https://bugzilla.novell.com/show_bug.cgi?id=786042#c0 Summary: 20% of the time wrong drive mounted as / (root) Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: a.vankaam@chello.nl QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.10.289 Version/12.02 I have 2 identical drives: Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000ca231 Device Boot Start End Blocks Id System /dev/sda1 63 4209029 2104483+ 82 Linux swap / Solaris /dev/sda2 * 4209030 46154744 20972857+ 83 Linux /dev/sda3 46154745 675308339 314576797+ 83 Linux /dev/sda4 675308340 976768064 150729862+ 83 Linux Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000ca231 Device Boot Start End Blocks Id System /dev/sdb1 63 4209029 2104483+ 82 Linux swap / Solaris /dev/sdb2 * 4209030 46154744 20972857+ 83 Linux /dev/sdb3 46154745 675308339 314576797+ 83 Linux /dev/sdb4 675308340 976768064 150729862+ 83 Linux sdb is simply a copy (made with g4l) which is roughly a week older, I know it's not raid and such but I like it that way, I can mess the whole thing up and simply copy sdb back to sda like nothing has changed and fiddle some more :) sdb is thus never used, grub2 does show it as the 3rd and 4th entry, I can remove it but every update when grub2-mkconfig runs it comes back so I don't really bother about it showing up. /etc/fdisk shows: /dev/disk/by-id/ata-WDC_WD5000AAKS-00D2B0_WD-WCASYA363695-part1 swap swap defaults 0 0 /dev/disk/by-id/ata-WDC_WD5000AAKS-00D2B0_WD-WCASYA363695-part2 / ext4 acl,user_xattr 1 1 /dev/disk/by-id/ata-WDC_WD5000AAKS-00D2B0_WD-WCASYA363695-part4 /backup ext4 defaults 1 2 /dev/disk/by-id/ata-WDC_WD5000AAKS-00D2B0_WD-WCASYA363695-part3 /home ext4 defaults 1 2 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 the normal bootup will show: Filesystem 1K-blocks Used Available Use% Mounted on rootfs 20641788 6345804 13247344 33% / devtmpfs 3048640 4 3048636 1% /dev tmpfs 3057420 0 3057420 0% /dev/shm tmpfs 3057420 744 3056676 1% /run /dev/sda2 20641788 6345804 13247344 33% / tmpfs 3057420 0 3057420 0% /sys/fs/cgroup tmpfs 3057420 744 3056676 1% /var/lock tmpfs 3057420 744 3056676 1% /var/run tmpfs 3057420 0 3057420 0% /media /dev/sda4 148364860 25412476 115415892 19% /backup /dev/sda3 309639060 98609044 195301180 34% /home now I would say 2 out of 10 boots grub2 will mount /dev/sdb2 as / and then continue with sda3 and sda4. This will give weird results like you just done a kernel update, reboot and system won't boot as sdb2 (which is a week old) does not have that kernel, reset and it will boot as it then mounts sda2. I can't reproduce it on demand but if I reboot enough times it will happen, not sure what more config files are needed but will gladly post them Reproducible: Sometimes Steps to Reproduce: 1. reboot, I would say 2 out of 10 times it will mount sdb2 as root 2. 3. Actual Results: as written once sdb2 is mounted system will boot using that root system, since its a copy of sda2 it will thus mount /sda3 and /sda4 Expected Results: it should leave sdb2 alone, sda2 is the root system to boot from -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.