LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-28-2010, 06:15 AM   #1
Padawan.AVT
Member
 
Registered: Feb 2006
Distribution: Gentoo, Slackware, Debian, Suse
Posts: 86

Rep: Reputation: 15
All hard drives are lost on boot


Somehow after recent system update I'm unable to find any drives in the system.

I see all of them in Bios, Grub finds them as well, but while loading the kernel and booting system to console they are missing.
fdisk -l shows nothing (but somehow it did show me 1 drive for 5 minutes and then it was lost as well)

I suspect that it was caused by udev and hal update, but I did etc-update and recompiled the kernel to a newer version (but with the old config) and it didn't work.

I'm able to boot in the system and somehow work in it, although on the boot stage I get errors like /dev/sda1 is missing

Any ideas?

Distro: Gentoo
kernel 2.6.34-r1
 
Old 07-28-2010, 06:18 AM   #2
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343
Blog Entries: 1

Rep: Reputation: 72
I had this yesterday.

Mine had changed from being called /dev/hda1, to /dev/sda1

but you say your already using /dev/sda....

Only other thing I can think of is maybe there was a update to the /etc/fstab, but that wouldn't explain why fdisk -l couldn't see them I dont think.
 
Old 07-28-2010, 06:26 AM   #3
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Sounds to me like *smiley* is on the right track...

Depending what kernel version you were running previously, you may have upgraded to a version which now (by default) uses the /dev/sda naming system for drives, instead of the /dev/hda method. Unless you explicitly change your kernel configuration and recompile it to use the previous method (if the previous method is indeed what you were using), then you will need to change your fstab file and maybe your GRUB config as well, to reflect this change.

You do mention you used the old config to build the new kernel, and I do too, but at one point if I recall correctly, I did have to ensure that I was still using the old method.
 
Old 07-28-2010, 06:31 AM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
I would get a second opinion by booting up another Linux Live CD and check the "fdisk -l" there. If the full set of disks are reported that it has to do with the updates might have errors inside.
 
Old 07-28-2010, 06:32 AM   #5
Padawan.AVT
Member
 
Registered: Feb 2006
Distribution: Gentoo, Slackware, Debian, Suse
Posts: 86

Original Poster
Rep: Reputation: 15
In any way I don't get any drives on `fdisk -l`
If the problem was only on mount step because drive letters were changed i would see them then in the output of fdisk.

From liveCD fdisk works fine

I'll try to post my boot log here.
 
Old 07-28-2010, 06:37 AM   #6
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343
Blog Entries: 1

Rep: Reputation: 72
Ignore this post :<
 
Old 07-28-2010, 06:39 AM   #7
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Padawan.AVT,

"fdisk -l" reports every disk even if it is a raw disk direct from a purchase so mounting has got nothing to do with it.

Since you can boot from a hard disk, which is missing, then the kernel must be faulty for unable to report the hard disk it is residing in!

Last edited by saikee; 07-28-2010 at 06:40 AM.
 
Old 07-28-2010, 06:43 AM   #8
Padawan.AVT
Member
 
Registered: Feb 2006
Distribution: Gentoo, Slackware, Debian, Suse
Posts: 86

Original Poster
Rep: Reputation: 15
Here is the log of my last boot:

http://fsk.in.ua/md_strg/Temp/messages

As you see, my drive was detected, but I cannot see it in the system (although I'm working from it in console)
 
  


Reply



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
Grub boot loader with two hard drives, trying to boot kubuntu. The Sun Linux - Newbie 10 02-06-2010 09:12 AM
Is my data lost? Installed Linux, no longer can I access my hard drives. Ironkey Linux - Desktop 9 07-12-2009 09:33 AM
2 hard drives, XP on my main sata drives, 10.2 on my IDE LILO doesnt show on boot up Dachy Slackware 14 01-03-2008 07:01 AM
Hard Drives Lost after installing Fedora Core 5 on HP Pavilion 6712 Manxman Fedora 5 07-08-2006 02:35 PM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:49 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