On 06/21/2012 02:02 PM, George Olson wrote:
SO SORRY I meant Raid 1, not Raid 0. I was mirroring the drives.
Here you can see my partition tables:
linux:/home/linux # fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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: 0x0001fa6f
Device Boot Start End Blocks Id System /dev/sda1 2048 4192255 2095104 82 Linux swap / Solaris /dev/sda2 * 4192256 46139391 20973568 fd Linux raid autodetect /dev/sda3 46139392 976752639 465306624 fd Linux raid autodetect /dev/sda4 976752640 1953523711 488385536 f W95 Ext'd (LBA) /dev/sda5 976754688 1018697727 20971520 83 Linux /dev/sda6 1018699776 1060642815 20971520 83 Linux /dev/sda7 1060644864 1953503231 446429184 83 Linux
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00030fbd
Device Boot Start End Blocks Id System /dev/sdb1 2048 4192255 2095104 82 Linux swap / Solaris /dev/sdb2 4192256 46139391 20973568 83 Linux /dev/sdb3 46139392 976752639 465306624 83 Linux /dev/sdb4 976752640 1953523711 488385536 5 Extended /dev/sdb5 976754688 1018697727 20971520 83 Linux /dev/sdb6 1018699776 1060642815 20971520 83 Linux /dev/sdb7 1060644864 1953503231 446429184 83 Linux
Now when I try and boot, I get the following error:
kernel (hd0)/vmlinuz-3.1.0-1.2-deskop root-/dev/disk/by-id/ata-ST1000DM003-9YN162_S1D069EC-part6 resume-/dev/disk/by-id/ata-Hitachi_HDS721050CLA362_JP85 21HR2HU93V-part1 splash-silent quiet showopts vga=0x317
Error 17: Cannot mount selected partition Press any key to continue...
Ok, since I last posted, here is basically what I did. I installed a new opensuse12.1 on /dev/sdb6 partition. I then modified the /etc/fstab file so that it would load the raid home partition like so: /dev/disk/by-label/home /home ext4 acl,user_xattr 1 2 The reason I was able to do this is because when I give the command ls -l /dev/disk/by-label I get the following output: george@linux-dwcl:~> ls -l /dev/disk/by-label total 0 lrwxrwxrwx 1 root root 9 Jun 21 11:22 home -> ../../md1 lrwxrwxrwx 1 root root 10 Jun 21 11:22 linux-aw-90:2 -> ../../sdb2 lrwxrwxrwx 1 root root 10 Jun 21 11:22 linux-aw90:3 -> ../../sdb3 lrwxrwxrwx 1 root root 10 Jun 21 11:22 newkde -> ../../sdb7 lrwxrwxrwx 1 root root 9 Jun 21 11:22 root -> ../../md0 lrwxrwxrwx 1 root root 10 Jun 21 11:22 root1 -> ../../sdb5 lrwxrwxrwx 1 root root 10 Jun 21 11:22 root2 -> ../../sda5 lrwxrwxrwx 1 root root 10 Jun 21 11:22 roottemp -> ../../sdb6 lrwxrwxrwx 1 root root 10 Jun 21 11:22 swap1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 Jun 21 11:22 swap2 -> ../../sda1 lrwxrwxrwx 1 root root 10 Jun 21 11:22 xtradata -> ../../sda7 So when I am running from a new installation of 12.1 from partition /dev/sdb6, it sees my 2 degraded raid partitions, md0 and md1. These correspond to /dev/sda2 and /dev/sda3. (when I booted from the live linux cd, it didn't recognize the raid partitions and only saw them as /dev/sda2 and /dev/sda3.) In any case, I wanted to at least load opensuse 12.1 with all my old kde settings, and I was able to do that (minus some of my applications) by booting fro /dev/sdb6. However, the problem is still grub. When I go to grub and set the root to (hd1,5) and then do setup (hd1), it does not seem to do what it is supposed to do, because I still get an error similar to the one I got before:
kernel (hd0)/vmlinuz-3.1.0-1.2-deskop root-/dev/disk/by-id/ata-ST1000DM003-9YN162_S1D069EC-part6 resume-/dev/disk/by-id/ata-Hitachi_HDS721050CLA362_JP85 21HR2HU93V-part1 splash-silent quiet showopts vga=0x317
Error 17: Cannot mount selected partition Press any key to continue...
The really weird thing is, that root line does not match menu.lst in the partition it is supposed to be pointing to. In order to boot, I had to go to the grub menu and manually type in the lines from menu.lst: root (hd1,5) kernel /boot/vmlinuz-3.1.0-1.2-desktop root=/dev/disk/by-label/roottemp resume=/dev/disk/by-id/ata-ST31000524AS_5VP9GJXF-part1 splash=silent quiet showopts vga=0x317 initrd /boot/initrd-3.1.0-1.2-desktop When grub was loaded on boot, I typed "root", and it was still looking at (hd0,1) even though before I rebooted I had made sure to give the command in a grub shell root (hd1,5). So can someone help me to at least get grub to point to the right file so that I don't have to manually type in all that line? Then I will worry about getting my raid going again. -- G.O. Box #1: 12.1 | KDE 4.8.4 | AMD Athlon X3 | 64 | nVidia C61 GeForce 7025 | 4GB RAM Box #2 12.1 | KDE 4.8.4 | Pentium 4 (2core) | 32 | Intel 82915G | 2GB RAM Lap #1: 12.1 | KDE 4.8.3 | Core2 Duo T8100 | 64 | Intel 965GM | 4GB RAM Lap #2: 12.1 | KDE 4.8.2 | Core Duo T2400 | 32 | NVIDIA Quadro NVS 120 | 2GB RAM learning openSUSE and loving it -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org