DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
POST works fine, I can get into BIOS. I am using the default BIOS with boot order of CD then my old SATA HD. There is another new SATA HD on the system.
The boot seems to go ok until I get a message saying it is waiting for the root device. After a few minutes the boot process drops to a initramfs shell. Some of the relevant messages are:
Gave up waiting for root device. Common problems:...
( lists some possible timeout setting changes )
ALERT! /dev/sda1 does not exist. Dropping to a shell!
( this is where I think the problem is )
At this point I have access to the initramfs shell. Looking through the log with dmesg I see the message:
Driver 'sd' needs updating -please use bus_type methods
sd 0:0:0:0: [sda] Attached SCSI removable disk
sd 0:0:0:0: [sdb] Attached SCSI removable disk
Is there anything I can do to get the boot process to finish? Particularly from the initramfs shell?
The problem may be solved by creating a new ramdisk, containing the driver for your harddrive. However, the error shows that a certain partition isn't available. The cause may be that the order of recognision by the kernel is different. You may want to use /dev/sdb1 as boot argument instead. Try switching the places of the SATA cables first.
Linux tends to be very picky when it comes to hard drive order. You can most likely solve this 2 ways:
-Manually figure out the proper order of the drives
-AHCI mode in Bios
I'm guessing your config for the ramdrive was originally wanting to mount sda1 for root but now you (might) have changed that to sdb1 (or a variant) and so now it causes ftab to scew up. I don't actually use ftab anymore so I'm unsure about this now.
I disconnected all but the original SATA drive from the old machine and cleared CMOS.
The system now boots.
I actually have two 750 Gb SATA drives I plan to use a RAID 0 drive. Although both drives were recognized by the BIOS when I first started the rebuilt system, one of them is no longer recognized. In looking through the log file from dmesg I could see that ATA1 was my original drive, ATA2 had something in it but linux couldn't recognize what it was, ATA3 had the drive that BIOS recognized, but it had never been formatted.
I don't know why linux wouldn't accept the drive in ATA1 as sda1. Perhaps it was confused by the device in ATA2 that wasn't recognized by BIOS as a drive. I have to contact Western Digital to find out why the second drive isn't recognized and find out why I can't use more than 2Gb of memory, but those will be different posts.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.