LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-06-2004, 08:41 AM   #1
sm0q
LQ Newbie
 
Registered: Apr 2004
Location: Poland
Distribution: Debian 3.0 Woody + 2.6.5 kernel
Posts: 5

Rep: Reputation: 0
Unhappy Problem with kernel 2.6.5 - missing /dev/hda


After I compiled my brand new kernel 2.6.5 , after rebooting I received following message:
fsck.ext3: No such file or directory while trying to open /dev/hda2 (thats partition with my root sysytem)
blah, blah, blah ....
fsck failed. Pease repair manually and reboot.

blah ,blah, blah .. .

give root password for maintenance
(or type CONTROL-D for normal startup):

ok.

so it seems that system cannot remount root device in rw mode
if I use rescue Debian disk with kernel 2.4 with following parameter root=/dev/hda2 everything seems to work fine

Any suggestions ???
THX Sm0q
 
Old 04-06-2004, 08:46 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Did you compile ext3 file system support as part of the new kernel or as a module? It needs to be in the kernel, not a module.

Baldrick
 
Old 04-06-2004, 08:49 AM   #3
sm0q
LQ Newbie
 
Registered: Apr 2004
Location: Poland
Distribution: Debian 3.0 Woody + 2.6.5 kernel
Posts: 5

Original Poster
Rep: Reputation: 0
Yes, of course. I think it has sth to do with lilo mayme???
 
Old 04-06-2004, 08:52 AM   #4
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
If it helps, here is part of my lilo.conf file
Code:
image=/boot/vmlinuz
	label="linux"
	root=/dev/hdb1
	initrd=/boot/initrd.img
	append="devfs=mount hdd=ide-scsi acpi=off quiet"
	vga=788
	read-only
Also, try running /sbin/lilo as well just to make sure everything is OK.

Baldrick

Last edited by Baldrick65; 04-06-2004 at 08:53 AM.
 
Old 04-06-2004, 09:42 AM   #5
sm0q
LQ Newbie
 
Registered: Apr 2004
Location: Poland
Distribution: Debian 3.0 Woody + 2.6.5 kernel
Posts: 5

Original Poster
Rep: Reputation: 0
No it didnt work
 
Old 04-06-2004, 10:55 AM   #6
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
do you have devfs compiled in the kernel?
 
Old 04-06-2004, 04:52 PM   #7
sm0q
LQ Newbie
 
Registered: Apr 2004
Location: Poland
Distribution: Debian 3.0 Woody + 2.6.5 kernel
Posts: 5

Original Poster
Rep: Reputation: 0
Yes - I did it - I used same config script as on my home computer - but with this one I do have a problem, at home not at all...
The Difference is that at home I have one big root partition ext3 and no other (and swap of course) and on that f@#!#*g comp. I made three:
/dev/hda1 - /boot
/dev/hda2 - /
/dev/hda3 - swap
/dev/hdb1 - /home

I 've got 2 disks as U see ...

maybe some problem with System.map or MBR - as I ssid before - I can mount from rescue cd-rom root file system from /dev/hda2 but not from normal booting procedure ...
Any Idea ???
 
Old 04-07-2004, 11:55 PM   #8
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
you do not have devFS or something compiled in or operationg.
 
Old 04-09-2004, 04:25 PM   #9
sm0q
LQ Newbie
 
Registered: Apr 2004
Location: Poland
Distribution: Debian 3.0 Woody + 2.6.5 kernel
Posts: 5

Original Poster
Rep: Reputation: 0
I am its not a questin of kernel config 'cause my old kernel does not boot either , anyway I reinstalled my system, I did the same - config&installation for kernel 2.6.5 and it's working already more then 4 days nonsto without any problem - so I have no clue what I screwed up. BTW THX 4 Your help.
 
  


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
/dev/hda under lilo.conf even thoug my HD is under /dev/hdb Basel Slackware 8 10-27-2005 06:00 PM
dd if=/dev/hda of=dev/hdb taking forever to complete fechin Linux - Hardware 7 06-19-2005 12:04 AM
New Kernel -> Can't read device /dev/hda flamesrock Linux - Software 2 02-07-2005 04:43 PM
mv c:\WINDOWS /dev/null; mount /dev/hda treehead LinuxQuestions.org Member Intro 5 10-19-2004 08:53 AM
How can I boot either one of my hard drives /dev/hda or /dev/hdb, I have RH9 and FC2 omogunkristi Linux - General 1 06-21-2004 05:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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