You are not logged in.
Pages: 1
After installing Arch on my desktop PC the system boots up and says it cannot find the root partition and drops to an emergency shell.
Not sure what I'm doing wrong, I have tried to install arch on a logical partition that resides on a stripe on an MBR system.
Here is the output of lsblk
NAME FSTYPE SIZE TYPE UUID PARTUUID
sda isw_raid_member 279.5G disk
├─md124 20G raid0
│ └─md124p1 ntfs 20G md 5064215A642143D6 1495e71c-01
└─md125 818.4G raid0
├─md125p1 ntfs 48.8G md 82D2AEB5D2AEAD3B 7c220e66-01
├─md125p2 1K md 7c220e66-02
├─md125p5 ntfs 48.8G md D63E42F83E42D163 7c220e66-05
├─md125p6 ntfs 48.8G md B624DD3E24DD01F3 7c220e66-06
├─md125p7 ntfs 586G md 1EE25A2BE25A0783 7c220e66-07
├─md125p8 swap 8G md 44965d83-aa51-4d0a-bddb-a635527ae989 7c220e66-08
└─md125p9 ext4 78G md 7c4c62b3-bb7e-42b5-a66a-9014d4d86daf 7c220e66-09
sdb isw_raid_member 558.9G disk
├─md124 20G raid0
│ └─md124p1 ntfs 20G md 5064215A642143D6 1495e71c-01
└─md125 818.4G raid0
├─md125p1 ntfs 48.8G md 82D2AEB5D2AEAD3B 7c220e66-01
├─md125p2 1K md 7c220e66-02
├─md125p5 ntfs 48.8G md D63E42F83E42D163 7c220e66-05
├─md125p6 ntfs 48.8G md B624DD3E24DD01F3 7c220e66-06
├─md125p7 ntfs 586G md 1EE25A2BE25A0783 7c220e66-07
├─md125p8 swap 8G md 44965d83-aa51-4d0a-bddb-a635527ae989 7c220e66-08
└─md125p9 ext4 78G md 7c4c62b3-bb7e-42b5-a66a-9014d4d86daf 7c220e66-09
sdc iso9660 7.5G disk 2014-08-01-03-12-56-00
├─sdc1 iso9660 559M part 2014-08-01-03-12-56-00 4433a768-01
└─sdc2 vfat 31M part 5742-45C2 4433a768-02
sdd isw_raid_member 465.8G disk
└─md123 931.5G raid5
└─md123p1 ntfs 931.5G md A884FC1B84FBEA28 5ae9d618-01
sde isw_raid_member 465.8G disk
└─md123 931.5G raid5
└─md123p1 ntfs 931.5G md A884FC1B84FBEA28 5ae9d618-01
sdf isw_raid_member 279.5G disk
├─md124 20G raid0
│ └─md124p1 ntfs 20G md 5064215A642143D6 1495e71c-01
└─md125 818.4G raid0
├─md125p1 ntfs 48.8G md 82D2AEB5D2AEAD3B 7c220e66-01
├─md125p2 1K md 7c220e66-02
├─md125p5 ntfs 48.8G md D63E42F83E42D163 7c220e66-05
├─md125p6 ntfs 48.8G md B624DD3E24DD01F3 7c220e66-06
├─md125p7 ntfs 586G md 1EE25A2BE25A0783 7c220e66-07
├─md125p8 swap 8G md 44965d83-aa51-4d0a-bddb-a635527ae989 7c220e66-08
└─md125p9 ext4 78G md 7c4c62b3-bb7e-42b5-a66a-9014d4d86daf 7c220e66-09
sdg isw_raid_member 465.8G disk
└─md123 931.5G raid5
└─md123p1 ntfs 931.5G md A884FC1B84FBEA28 5ae9d618-01
sr0 1024M rom
sr1 1024M rom
loop0 squashfs 241.3M loop
loop1 ext4 32G loop 548ba75e-8e6f-4cda-931b-a193d8a448cc
└─arch_airootfs ext4 32G dm 548ba75e-8e6f-4cda-931b-a193d8a448cc
loop2 ext4 32G loop 548ba75e-8e6f-4cda-931b-a193d8a448cc
└─arch_airootfs ext4 32G dm 548ba75e-8e6f-4cda-931b-a193d8a448cc And here is my fstab
# /dev/md124p9
UUID=7c4c62b3-bb7e-42b5-a66a-9014d4d86daf / ext4 rw,relatime,stripe=96,data=ordered 0 1
# /dev/md124p8
UUID=44965d83-aa51-4d0a-bddb-a635527ae989 none swap defaults 0 0I used genfstab -U -p /mnt >> /mnt/etc/fstab from the beginner manual
Please note the lsblk output was after a reboot, it seems the device name changed from md124 to md125
I tried running genfstab again and the names changed again! Both times I verified the names and UUIDs matched between lsblk and fstab
The reason there are 2 devices on my stripe is because I have 2 raid volumes configured for the 3 stripe members on my raid controller. One is a 20gb volume and the other is the rest of the stripe.
md125p2 is an extended partition.
I had intended to create 2 more logical drives in the extended partition for use with Arch, md125p8 as swap, and md125p9 as root. however windows is seeing md125p8 and 9 as both primary partitions
I used fdisk /dev/mda125 and chose l for logical partition type.
I believe I have grub configured correctly. I ran grub-install --target=i386-pc --recheck /dev/md124 (which matched the desired boot drive at the time) I got no errors from that.
What am I doing wrong here?
Last edited by Adam Bise (2014-08-30 15:53:30)
Offline
Please edit your first post and remove the unnecessary and annoying cry for help: https://wiki.archlinux.org/index.php/Fo … ow_to_Post
You are running some sort of RAID: what is in your mkinitcpio HOOKS array (and MODULES, for that matter)?
According to lsblk, you have no /dev/md124p{8,9}: what's up with that?
Offline
I searched the guide and saw that I missed that part!
I have not set up the initial ramdisk. I guess that explains why I can't boot to a stripe, thanks!
I'm a noob at Linux. But that's why I like Arch because it forces me to learn ![]()
cant say why the device name changed. I plugged in a USB drive, other than that IDK
Last edited by Adam Bise (2014-08-30 05:55:49)
Offline
I was able to get the system up and running after configuring mdadm.conf and adding mdadm_udev to mkinitcpio.conf
Thank you for pointing me in the right direction!
Offline
Pages: 1