LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-21-2008, 11:48 AM   #1
thiagoeliasr
LQ Newbie
 
Registered: Apr 2005
Location: São Paulo - Brazil
Distribution: Slackware 12.1
Posts: 16

Rep: Reputation: 0
Waiting for root filesystem, after install a new sata HD on Etch 4.0


Hi,

Today, I needed to install a new SATA HD on Debian Etch 4.0 where I work, but when the system is booting, the message: "Begin: Waiting for root filesystem" appears and nothing happens.

When I remove the new SATA HD, the boot process is normal.

I can't figure out why I'm having this problem. Do I need to change something in Grub boot loader, or something like that ?!
I don't know much about sata hd's. but it seems that Debian is changing the priority between the 2 hd's..

Thanks for the help.
 
Old 11-22-2008, 01:56 PM   #2
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Etch/Lenny/Squeeze
Posts: 3,477

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
It is most likely because the kernel thinks differently about what is the first and second hard drive.

I recommend to use UUID's instead of /dev/sda1 etc to point to your boot disk.

Find you UUID's by using the blkid command in a console.

These are the lines in /boot/grub/menu.lst and /etc/fstab which are using UUID now. (For my system, your UUID's are different)

menu.lst:
Code:
title           Debian GNU/Linux, kernel 2.6.26-1-686
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.26-1-686 root=UUID=c1420be7-ac52-477b-b31d-820d809105dc ro rootdelay=5
initrd          /boot/initrd.img-2.6.26-1-686
/etc/fstab:
Code:
#/dev/hdc1       /               ext3    defaults,errors=remount-ro 0       1
UUID=c1420be7-ac52-477b-b31d-820d809105dc       /       ext3    defaults,errors=remount-ro 0       1
Note the first line is commented out.

jlinkels
 
Old 11-24-2008, 01:04 PM   #3
thiagoeliasr
LQ Newbie
 
Registered: Apr 2005
Location: São Paulo - Brazil
Distribution: Slackware 12.1
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jlinkels View Post
It is most likely because the kernel thinks differently about what is the first and second hard drive.

I recommend to use UUID's instead of /dev/sda1 etc to point to your boot disk.

Find you UUID's by using the blkid command in a console.

These are the lines in /boot/grub/menu.lst and /etc/fstab which are using UUID now. (For my system, your UUID's are different)

menu.lst:
Code:
title           Debian GNU/Linux, kernel 2.6.26-1-686
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.26-1-686 root=UUID=c1420be7-ac52-477b-b31d-820d809105dc ro rootdelay=5
initrd          /boot/initrd.img-2.6.26-1-686
/etc/fstab:
Code:
#/dev/hdc1       /               ext3    defaults,errors=remount-ro 0       1
UUID=c1420be7-ac52-477b-b31d-820d809105dc       /       ext3    defaults,errors=remount-ro 0       1
Note the first line is commented out.

jlinkels
Hi jlinkels,

Thanks for the help. I'll try it tomorrow.. I'm almost sure that your solutiuon will work..

Thanks again..

(and sorry for my bad english language).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub installed on IDE wont mount root filesystem on SATA fitz_lq Linux - Software 14 02-04-2008 02:52 PM
new etch kerneland Begin waiting for root file system... knobby67 Debian 5 09-05-2007 05:02 AM
Booting from RAID 1, hang at "waiting for root filesystem" GBW88 Linux - Server 2 08-26-2007 06:40 PM
Waiting for root filesystem kornerr Ubuntu 5 06-02-2007 01:09 AM
howto boot root filesystem from SATA disk? david.skinner Linux - Hardware 4 06-17-2004 12:51 AM


All times are GMT -5. The time now is 12:29 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration