SO SORRY I meant Raid 1, not Raid 0. I was mirroring the drives. On Thu, Jun 21, 2012 at 11:50 AM, George Olson <grglsn765@gmail.com> wrote:
I am upgrading my system at my office and at home, and right now I am in a bit of a limbo state because I can't get my new pc to boot from the hard disk. Maybe some help with grub can get me going, or with a degraded raid.
Right now I am using a live kde cd (I am so pleased at how easy it is to use one of these :) )
So here is the way things are. I was running raid 0 on my old desktop. I have built a new desktop (with a better processor and more ram) and I took one of the raid drives off my old desktop and installed it in in my new desktop. I have also added a 2nd tb drive and partitioned it to exactly match the sizes on my old one, with the ultimate goal of having raid 0 on all partitions of both drives (before I was only using raid 0 on half the drive because I was mirroring a 500gb with half of a 1 tb drive). However, I have not yet installed anything on the new drive.
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
So, I have used grub in a konsole to do the following: grub> find /boot/grub/stage1 (hd0,1) (hd0,4)
grub> root (hd0,1) Filesystem type is ext2fs, partition type 0xfd
grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 17 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,1)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded Done.
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...
I am finding that when I boot up in the live linux cd, like I am now, I cannot mount the raid partitions to modify the menu.lst file or anything like that because they are looked at as "Linux raid autodetect" instead of ext4.
So my question is, is there a way for me to boot up into /dev/sda2 as a degraded raid, so as to begin setting up my system on this new hardware? I thought that perhaps if I just used the install disk of opensuse 12.1 and did an "upgrade" on the old raid partition, it would fix everything so that I could boot into that drive. However, nothing really changed, except that some new packages were installed.
George -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org