You are not logged in.

#1 2012-07-05 13:35:00

Soumyadeep
Member
From: kolkata,India
Registered: 2009-09-09
Posts: 218

[SOLVED] cant boot: /dev/disk/by-uuid/xxxxx... no such device

I just change my cpu,mobo,ram and after trying to boot from my old hard drive which has a 4 yr old arch install it gives my /dev/disk/by-uuid/xxxxx... no such device , can't find root error and drops me to a busybox shell.

here's my menu.lst

 
# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz-linux]
root   (hd0,6)
kernel /vmlinuz-linux root=/dev/disk/by-uuid/70a2f4e8-a332-4863-bd5c-1e3d765e8f8e ro quiet 
initrd /initramfs-linux.img 

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     defaults            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
#/dev/sdb1                /mnt/pendrive auto  rw,user,noauto,sync     0   0
#/dev/sdb2		/mnt/memorycard auto rw,user,noauto,sync    0    0
/dev/disk/by-uuid/d801a510-751e-4dbf-925e-7e17fbb63d61	/mnt/home	ext4	defaults 0 0
/dev/disk/by-uuid/0e5ff204-311b-40bd-9655-d6078a6e5e2c swap swap defaults 0 0
/dev/disk/by-uuid/70a2f4e8-a332-4863-bd5c-1e3d765e8f8e / ext4 defaults 0 1
/dev/disk/by-uuid/12a5ebc9-6dc0-408f-8c13-7c5c72b53693 /boot ext2 defaults 0 1
/dev/disk/by-uuid/00ba323f-c0b0-444e-b6ff-05993bcf2415 /home ext4 defaults 0 1

and also blkids:(from ubuntu installed on another hdd)

/dev/sda: TYPE="nvidia_raid_member" 
/dev/sdb2: UUID="829491009490F7BD" TYPE="ntfs" 
/dev/sdb3: UUID="7A4C30144C2FC9A9" TYPE="ntfs" 
/dev/sdb4: UUID="62003EB3003E8DD3" TYPE="ntfs" 
/dev/sdb5: UUID="f9ada2fc-2b21-47ea-b803-e46befe0890c" TYPE="ext4" 
/dev/sdb6: UUID="e92e5580-580e-4822-82ad-b9a57f3b40b0" TYPE="swap" 
/dev/mapper/nvidia_bdcadcai1: UUID="0e5ff204-311b-40bd-9655-d6078a6e5e2c" TYPE="swap" 
/dev/mapper/nvidia_bdcadcai3: UUID="3072b08d-5369-43d7-80b0-fa8a88dd9860" TYPE="ext4" 
/dev/mapper/nvidia_bdcadcai4: UUID="d801a510-751e-4dbf-925e-7e17fbb63d61" TYPE="ext4" 
/dev/mapper/nvidia_bdcadcai5: UUID="1bd70691-60ad-4c76-bcb1-6531121c6685" TYPE="swap" 
/dev/mapper/nvidia_bdcadcai6: UUID="70a2f4e8-a332-4863-bd5c-1e3d765e8f8e" TYPE="ext4" 
/dev/mapper/nvidia_bdcadcai7: UUID="12a5ebc9-6dc0-408f-8c13-7c5c72b53693" TYPE="ext2" 
/dev/mapper/nvidia_bdcadcai8: UUID="00ba323f-c0b0-444e-b6ff-05993bcf2415" TYPE="ext4" 

the nvidia_bdcadcai6 is where the arch's root is
why is this happening any clue?

Last edited by Soumyadeep (2012-07-06 06:42:07)

Offline

#2 2012-07-05 16:23:28

matse
Member
Registered: 2011-04-27
Posts: 299

Re: [SOLVED] cant boot: /dev/disk/by-uuid/xxxxx... no such device

Did you really install grub on

root   (hd0,6)

remember if you installed it on the mbr of your hdd change this line to

root   (hd0,0)

Otherwise check prerequesites mentioned here.

Offline

#3 2012-07-05 16:54:38

aesiris
Member
Registered: 2012-02-25
Posts: 97

Re: [SOLVED] cant boot: /dev/disk/by-uuid/xxxxx... no such device

Have you rebuilt the initrd with the right hooks? Or tried the -fallback?
Maybe your new mobo requires different sata modules than the old one.

Offline

#4 2012-07-05 17:28:24

Soumyadeep
Member
From: kolkata,India
Registered: 2009-09-09
Posts: 218

Re: [SOLVED] cant boot: /dev/disk/by-uuid/xxxxx... no such device

@matse, my grub entries are all correct as I used those to boot for all these years.

@aesiris You maybe right, I think i have to boot up a live cd, chroot into it and do a mkinitcpio -p linux.

Offline

#5 2012-07-05 17:55:20

matse
Member
Registered: 2011-04-27
Posts: 299

Re: [SOLVED] cant boot: /dev/disk/by-uuid/xxxxx... no such device

@Sumyadeep:
If fallback does not work, no need to rebuild, since the fallback image contains every single module you could need.
Post your whole hdd structure, you seem to have grub installed on another hdd and you just use chainloading to boot arch? If so - and arch is on another hdd probably (hd0,6) is wrong and should be something like (hd1,6) depending on your bios settings.

Offline

#6 2012-07-06 06:41:28

Soumyadeep
Member
From: kolkata,India
Registered: 2009-09-09
Posts: 218

Re: [SOLVED] cant boot: /dev/disk/by-uuid/xxxxx... no such device

@matse thnx! you and another guy in the irc said the same about the sata modules, booted into fallback and rebuilt the kernel image and voila! i'm back in my arch!

Offline

Board footer

Powered by FluxBB