You are not logged in.

#1 2013-12-02 05:26:30

moutansos
Member
Registered: 2013-12-02
Posts: 3

Fresh arch install can't find root device [solved]

Ok so i am completely new to arch and i ran it a little on my RPi but that was already a pre-setup enviroment. I wanted some more customisability so i decided i'd try it out. Anyways i installed arch on my dell inspiron 1300 and everything went as planned. I added boot menu entries to 40_custom on my ubuntu distro. Right now it has windows xp on one partition, ubuntu on the next, swap and then arch. When i boot i get a message like this:

Booting the kernel.
:: running early hook [udev]
:: running hook [udev]
:: Triggering uevents...
ERROR: device ' ' not found. Skipping fsck.
ERROR: Unable to find root device ' '.
You are being dropped into a recovery shell
etc.........

Since this is the first manual linux install i've done i figured that i missed a step or something of the sort.

Thanks in advance

Last edited by moutansos (2013-12-02 06:42:45)

Offline

#2 2013-12-02 05:34:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Fresh arch install can't find root device [solved]

Please paste your partition details and your grub config.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-12-02 06:02:19

moutansos
Member
Registered: 2013-12-02
Posts: 3

Re: Fresh arch install can't find root device [solved]

Ok so partition details here as seen by ubuntu: (arch is on sda7)

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders, total 117210240 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: 0x00060627

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    55777679    27888808+   7  HPFS/NTFS/exFAT
/dev/sda2        55779326   117209087    30714881    5  Extended
/dev/sda5        55779328    99579903    21900288   83  Linux
/dev/sda6       115132416   117209087     1038336   82  Linux swap / Solaris
/dev/sda7        99581952   115130367     7774208   83  Linux

Partition table entries are not in disk order

My Grub config file on ubuntu (/etc/grub.d/40_custom) looks like this:

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry "Windows XP Home Editon" {
set root=(hd0,1)
chainloader +1
}

menuentry "Android-x86" {
set root='(hd0,5)'
linux /android-4.0-RC2/kernel quiet root=/dev/ram0 androidboot.hardware=eeepc acpi_sleep=s3_bios,s3_mode SRC=/android-4.0-RC2 SDCARD=/system/sdcard.img
initrd /android-4.0-RC2/initrd.img}

menuentry "Android-x86 (Debug)" {
set root='(hd0,5)'
linux /android-4.0-RC2/kernel root=/dev/ram0 androidboot.hardware=eeepc acpi_sleep=s3_bios,s3_mode SRC=/android-4.0-RC2 SDCARD=/system/sdcard.img
initrd /android-4.0-RC2/initrd.img}

menuentry "Arch Linux" {
set root=(hd0,7)
linux /boot/vmlinuz-linux
initrd /boot/initramfs-linux.img
}

Offline

#4 2013-12-02 06:11:53

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Fresh arch install can't find root device [solved]

So you're not even passing a root parameter to the kernel? Go back and re-read the grub setup wiki.

Offline

#5 2013-12-02 06:28:04

moutansos
Member
Registered: 2013-12-02
Posts: 3

Re: Fresh arch install can't find root device [solved]

Ok I found it. Deffinately a noob mistake. Didn't read far enough into it the first time. Boots perfectly now

Thanks for the help

Last edited by moutansos (2013-12-02 06:28:39)

Offline

#6 2013-12-02 06:40:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Fresh arch install can't find root device [solved]

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB