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 10-06-2004, 02:53 AM   #1
RaMoN75
LQ Newbie
 
Registered: Oct 2004
Location: The Netherlands
Posts: 2

Rep: Reputation: 0
Problems with Woody/grub


Recently I installed Debian (Woody)with a bf-2.4.25.iso from an ftp server. Everything works fine. The I installed grub (0.9.5):
apt-get install grub grub-doc
grub -install --root-directory=/boot /dev/hda (on MBR)
update-grub (to make a menu.lst)
The menu.lst looks like:
##### menu.lst ######
default 0
timeout 10

title Debian GNU/Linux, kernel bf-2.4.25
root (hd0,0)
kernel /boot/vmlinuz-2.4.25 root=/dev/hda2 ro
savedefault
boot
##################

Ran grun-update again
The device.map looks OK too (hd0 for /dev/hda and fd0 for /dev/fd0

Then I removed LILO:
apt-get remove lilo
dpkg --purge lilo

But when I reboot, the shit happens. The menu shows, i select the right kernel and grub loads the kernel, but stops after a while.
These are the last 5 messeges i get:

EXT3fs mounted filesystem with orderd data mode
VFS: Mounted root (ext3 filesystem) readonly
Freeing unused kernel memory: 92K freed
Warning: Unable to open an initial console
Kernel panic: No init found. Try passing init= option to kernel

Is it that I haven't got an initrd image? Can someone please help me??

PS
My partitions scheme look like:
/boot hda1 100MB ext3 Primary
/ hda2 500MB ext3 Primary
/usr hda5 3000MB ext3 Logical
/var hda6 2000MB ext3 Logical
/tmp hda7 500MB ext3 Logical
/home hda8 12000MB ext3 Logical
swap hda9 400MB swap Logical
 
Old 10-06-2004, 04:29 AM   #2
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
Have you tried adding the initrd line manually?

title Debian GNU/Linux, kernel bf-2.4.25
root (hd0,0)
kernel /boot/vmlinuz-2.4.25 root=/dev/hda2 ro
initrd /boot/initrd.img-2.4.25
savedefault
boot
 
Old 10-06-2004, 05:30 AM   #3
RaMoN75
LQ Newbie
 
Registered: Oct 2004
Location: The Netherlands
Posts: 2

Original Poster
Rep: Reputation: 0
Haven't tried it yet. Going to do it 2night. Hope it helps. Have read many articles on how to install grub, but it never mentioned anything about initrd images.
Thnz
 
Old 12-16-2004, 06:26 AM   #4
gorilla
LQ Newbie
 
Registered: Jul 2004
Location: Texas
Distribution: Debian Sarge
Posts: 20

Rep: Reputation: 0
I did the changes on a laptop that I have been having problems booting a new kernel on and it worked great.

Thanks,

Last edited by gorilla; 12-16-2004 at 06:29 AM.
 
  


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
Nvidia problems on Woody vijayind Debian 8 03-05-2005 07:52 AM
Woody??? Setup problems wimman Linux - Newbie 4 07-15-2004 05:11 AM
Debian 3.0 woody problems furball Linux - Newbie 5 05-18-2004 12:15 AM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
Several Debian Woody problems FlyingMoose Linux - Hardware 2 01-07-2004 04:51 PM

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

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