You are not logged in.

#1 2010-02-03 00:55:33

leberyo
Member
Registered: 2009-12-30
Posts: 123

Help please system won't boot

I upgraded my system today and after restarting it gives a message "root device 'dev/disk/by-uuid/....' doesn't exist, attempting to create it
error: failed to parse block device data for 'dev/disks/by-uuid/...'
error: unable to detect or create root device '.....'
you are being dropped to a recovery shell.

Today's upgrade was big, it upgraded udev and the kernel.  Anyone have an idea what the problem might be?

Last edited by leberyo (2010-02-03 01:04:43)

Offline

#2 2010-02-03 00:57:41

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Help please system won't boot

Hmm... boot with your live cd and edit your /etc/fstab to use /dev/sdxy format rather than uuids.  I've never understood why uuid's have been so popular...


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2010-02-03 00:58:49

leberyo
Member
Registered: 2009-12-30
Posts: 123

Re: Help please system won't boot

I already tried that, any other idea?

Offline

#4 2010-02-03 01:06:38

davidm
Member
Registered: 2009-04-25
Posts: 371

Re: Help please system won't boot

Sorry if this seems silly but everyone makes mistakes.... Is your /etc/fstab, etc correct i.e. - do you have a leading "/" before the dev?  I ask because the error message you posted doesn't show this.

Last edited by davidm (2010-02-03 01:08:06)

Offline

#5 2010-02-03 01:07:15

leberyo
Member
Registered: 2009-12-30
Posts: 123

Re: Help please system won't boot

yes /dev/sda1 etc.

Offline

#6 2010-02-03 01:10:02

davidm
Member
Registered: 2009-04-25
Posts: 371

Re: Help please system won't boot

hmm, maybe go ahead and just post your /etc/fstab and the output of 'fdisk -l' and someone may see something that might help.

Offline

#7 2010-02-03 01:23:28

leberyo
Member
Registered: 2009-12-30
Posts: 123

Re: Help please system won't boot

Here is my fstab:

#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
devpts                 /dev/pts      devpts    defaults            0      0
shm                    /dev/shm      tmpfs     nodev,nosuid        0      0

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

#UUID=8C6085FC6085ED70 /mnt/windows  ntfs-3g  defaults,noatime  0 0
/dev/sda2 /boot ext3 defaults 0 1
/dev/sda3 / ext4 defaults,noatime 0 1
/dev/sda5 /tmp ext4 defaults,nosuid,nodev 0 1
/dev/sda6 /var ext4 defaults,nosuid,nodev 0 1
/dev/sda7 /usr ext4 defaults,noatime,rw,nodev 0 1
/dev/sda8 swap swap defaults 0 0
/dev/sda9 /home ext4 defaults,noatime,nosuid,nodev 0 1

fdisk -l doesn't output anything.  I'm using Mint Linux livecd at the moment...

Offline

#8 2010-02-03 02:38:08

leberyo
Member
Registered: 2009-12-30
Posts: 123

Re: Help please system won't boot

You know I also removed lvm2 and mdam packages because I didn't think I needed them.  Lvm2 is the large volume manager and mdam was the package that handles raid I think.  Could that be the reason?

Offline

#9 2010-02-03 07:12:34

leberyo
Member
Registered: 2009-12-30
Posts: 123

Re: Help please system won't boot

LVM2=logical volume manager, I thought it was large volume manager.  I'm thinking this is what's not letting me boot, me deleting this package.  But how can I re-add this package when I can't boot into the system at all???

Offline

#10 2010-02-03 07:44:31

Parter
Member
From: Kiev, Ukraine
Registered: 2010-01-31
Posts: 22

Re: Help please system won't boot

I had the same problem when I complied 2.6.32-7 manually. I just went back to -5

Offline

#11 2010-02-03 07:46:06

leberyo
Member
Registered: 2009-12-30
Posts: 123

Re: Help please system won't boot

How can I go back???

Offline

#12 2010-02-03 08:16:20

SBL
Member
Registered: 2010-01-23
Posts: 14

Re: Help please system won't boot

Have you tried pacman -S lvm2?

Last edited by SBL (2010-02-03 08:20:59)


Any sufficiently advanced technology is indistinguishable from magic.

Offline

#13 2010-02-03 12:22:53

liquibyte
Member
Registered: 2007-11-11
Posts: 91
Website

Re: Help please system won't boot

Can you mount your drive with the live medium?  I always check for hardware issues before anything else just in case.  If you can mount it, you should be able to fix the issue with a chroot and the appropriate commands.  The wiki will be your friend here more than I can though.  I'm sure someone else would be able to tell you exactly what to do but I can point you the the page:  http://wiki.archlinux.org/index.php/Chroot

Offline

#14 2010-02-03 12:50:42

unranked
Member
From: Hungary
Registered: 2009-02-07
Posts: 20

Re: Help please system won't boot

Just a tip, but -if you have one- what's the content of /boot/grub/menu.lst ?

Offline

#15 2010-02-03 13:47:15

RaisedFist
Member
From: Romania
Registered: 2007-01-30
Posts: 556
Website

Re: Help please system won't boot

@unranked: He said fdisk -l doesn't show anything, so there's something wrong... and if he can't see the partitions, then he can't mount /boot, right?

Offline

#16 2010-02-03 14:03:35

unranked
Member
From: Hungary
Registered: 2009-02-07
Posts: 20

Re: Help please system won't boot

Yes, you are totally right.
But how was he able to post his /etc/fstab, if he can't see the partitions ? So I thought maybe he can post his menu.lst too..
Anyway, sorry if I misunderstood something.

Offline

#17 2010-02-03 14:33:06

RaisedFist
Member
From: Romania
Registered: 2007-01-30
Posts: 556
Website

Re: Help please system won't boot

hah!! I missed that... leberyo, so you're able to mount your / (root) partition? if so, do a ls -al /dev and see what's in there

Offline

#18 2010-02-03 15:26:06

leberyo
Member
Registered: 2009-12-30
Posts: 123

Re: Help please system won't boot

I'm using a mint Linux livecd that's how I mount the disks.  I honestly don't think there's anything wrong with the disks.  I did a ls -l /'dev/disks/by-uuid in mint and all the disks are there.

Offline

#19 2010-02-03 17:01:12

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: Help please system won't boot

From the livecd, mount the root filesystem under /mnt.  Then do "mount --bind /dev /mnt/dev" and finally "chroot /mnt".  You should now be inside your arch system, and able to run "pacman -S lvm mdadm".

Offline

#20 2010-02-03 20:28:07

leberyo
Member
Registered: 2009-12-30
Posts: 123

Re: Help please system won't boot

How do I mount the root file system?  "mount /dev/sda3 /mnt" something like that?

Did that, it says pacman command not found.  Probably because I've split my filesystem into different partitions.  Would Pacman be under /usr which is sda7 for me.

Last edited by leberyo (2010-02-03 20:37:00)

Offline

#21 2010-02-03 20:41:36

leberyo
Member
Registered: 2009-12-30
Posts: 123

Re: Help please system won't boot

I remounted my different partitions and was able to re-install lvm2 and mdadm.  I still get the same boot error.  I've read elsewhere that the new udev is the problem.  How can I restore the previous udev?

Last edited by leberyo (2010-02-03 20:46:33)

Offline

#22 2010-02-03 20:55:26

leberyo
Member
Registered: 2009-12-30
Posts: 123

Re: Help please system won't boot

Wow this is becoming painful.  Tried to install the old udev that's in my pacman cache, it now gives me another error;

error: failed to prepare transaction (conflicting files)
udev: /lib/udev/rules.d/64-md-raid.rules exist in filesystem

....no packages were upgraded

How can I fix this?

You fix by also downgrading mdadm package.  Downgraded both mdadm and udev to one prior versions and still the same boot error..

Last edited by leberyo (2010-02-03 20:58:51)

Offline

#23 2010-02-03 21:07:54

leberyo
Member
Registered: 2009-12-30
Posts: 123

Re: Help please system won't boot

Downgraded kernel, udev, mdadm still boot error !!!

Offline

#24 2010-02-03 21:26:56

liquibyte
Member
Registered: 2007-11-11
Posts: 91
Website

Re: Help please system won't boot

leberyo wrote:

Wow this is becoming painful.  Tried to install the old udev that's in my pacman cache, it now gives me another error;

error: failed to prepare transaction (conflicting files)
udev: /lib/udev/rules.d/64-md-raid.rules exist in filesystem

....no packages were upgraded

How can I fix this?

You fix by also downgrading mdadm package.  Downgraded both mdadm and udev to one prior versions and still the same boot error..

pacman's -f option will force the install in this case.

Offline

#25 2010-02-03 22:14:07

grandmouse
Member
From: germany, bonn
Registered: 2005-05-14
Posts: 90

Re: Help please system won't boot

try modules="... ext3 ext4" in /etc/mkinitcpio (line 7) and
mkinitcpio -p kernel26

Offline

Board footer

Powered by FluxBB