Author Topic: [solved] missing /dev/root file  (Read 380 times)

Offline Lord_Pyro

  • New Friend
  • *
  • Posts: 7
[solved] missing /dev/root file
« on: January 15, 2013, 12:55:35 AM »
Question: How can i make/rebuild the "/dev/root" file

Background: I had two installations of PCLOS-KDE installed, up to date, and perfectly working. I installed Debian 6.0 onto a separate partition. After the installation it installed grub 2. after that i could not get either pclos install to boot. when using a remastered usb drive and a live cd, the "setup boot system" in pcc showed no operating systems in the auto populated list.  I installed pclos on yet another partition and at that time it showed one of the previous installs and my windows install.  After installing and verifing the new install would boot, I corrected the grub code, for the now visible previous install, to boot the pae kernel and removed the "resume=" section as it had previously caused issues hanging the boot process. now it gives me a kernel panic stating it cant find the file /dev/root. I have gone in a looked from the third pclos install and verified the file is indeed missing.

System info: Lenovo g580- intel i3, 6gb ram, 750gb hd (partitioned as follows:1)master boot record 2)Windows8-120gb 3)Windows7-120gb 4)pclos-320gb 5)pclos-32gb 6)debian6.0-50gb 7)pclos-new, working install-31gb 8)swap-12gb 9)lenovo recovery-22gb)
« Last Edit: January 15, 2013, 09:44:09 PM by Lord_Pyro »
Here's to hell,
May the stay there
Be as much fun as the way there!

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11528
  • ----IOFLU----
Re: missing /dev/root file
« Reply #1 on: January 15, 2013, 02:32:14 AM »
Question: How can i make/rebuild the "/dev/root" file

Background: I had two installations of PCLOS-KDE installed, up to date, and perfectly working. I installed Debian 6.0 onto a separate partition. After the installation it installed grub 2. after that i could not get either pclos install to boot. when using a remastered usb drive and a live cd, the "setup boot system" in pcc showed no operating systems in the auto populated list.  I installed pclos on yet another partition and at that time it showed one of the previous installs and my windows install.  After installing and verifing the new install would boot, I corrected the grub code, for the now visible previous install, to boot the pae kernel and removed the "resume=" section as it had previously caused issues hanging the boot process. now it gives me a kernel panic stating it cant find the file /dev/root. I have gone in a looked from the third pclos install and verified the file is indeed missing.

System info: Lenovo g580- intel i3, 6gb ram, 750gb hd (partitioned as follows:1)master boot record 2)Windows8-120gb 3)Windows7-120gb 4)pclos-320gb 5)pclos-32gb 6)debian6.0-50gb 7)pclos-new, working install-31gb 8)swap-12gb 9)lenovo recovery-22gb)

Your error message is the result of an error within the initrd image that compliments the boot kernel, or a failure to load the initrd image through an error in the boot stanza used. The /dev/root is the temporary root device used by the kernel while initiating, before switching to the installed / partition at the end of the process.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3980
Re: missing /dev/root file
« Reply #2 on: January 15, 2013, 04:51:38 AM »
The symptoms you describe are the result of two errors. On is the UUIDs being changed by the subsequent installs repartitioning the disc. The resume error is the big clue there. Run blkid to find out what the current UUIDs are and then edit the appropriate menu.lst to use the correct ones (or use labels instead or revert to the old-fashioned /dev/sdxn notation).

The second is an inconsistency in changing which kernel boots. (This is what O-P has already flagged up.) Check the initrd.img entries in menu.lst match the vmlinuz entries and that the symbolic links in /boot also point to matching versions.

Finally, once the install is working again, you should run mkinitrd to ensure the initrd is fully consistent with the installed system. (Read the man page on mkinitrd for the syntax if you need it.)
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline Lord_Pyro

  • New Friend
  • *
  • Posts: 7
Re: [solved] missing /dev/root file
« Reply #3 on: January 15, 2013, 09:46:16 PM »
thank you for your assistance. the issue was a stray character in the root=uuid section, as well as a couple of missing variables. All is well and booting

thanks again
Here's to hell,
May the stay there
Be as much fun as the way there!