LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 08-19-2010, 08:36 AM   #1
Maineac54
LQ Newbie
 
Registered: Jul 2010
Location: Chicago Area
Distribution: Debian lenny
Posts: 4

Rep: Reputation: 0
Unhappy Upgraded MOBO/CPU and Linux won't boot


I am running Debian Lenny 2.6.26-2-amd64.

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?

Thanks for the help.
 
Old 08-19-2010, 08:45 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
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.
 
Old 08-19-2010, 01:23 PM   #3
mushroomboy
Member
 
Registered: Jan 2006
Distribution: Debian Testing ALWAYS!!!
Posts: 363

Rep: Reputation: 43
Drives plugged into the wrong SATA ports....

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.
 
Old 08-20-2010, 07:40 AM   #4
Maineac54
LQ Newbie
 
Registered: Jul 2010
Location: Chicago Area
Distribution: Debian lenny
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up

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.

Thanks for your suggestions, they were helpful.

Maineac
 
  


Reply

Tags
boot, initramfs



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU or mobo responsible for Linux incompatibility? newbiesforever Linux - General 10 11-28-2008 05:50 PM
possible HW list OC; by MoBo, CPU, Mem, BIOS CPU x Addition HCL (stock BIOS settings) digital8doug Linux - General 17 12-15-2006 07:01 PM
New Mobo & CPU - Linux won't boot tempy Linux - Hardware 3 09-09-2003 11:39 PM
New Mobo & CPU - Red Hat Won't Boot tempy Red Hat 6 09-06-2003 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:29 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration