LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-04-2004, 11:22 AM   #1
ecion
LQ Newbie
 
Registered: Jan 2004
Location: United Kingdom
Distribution: Mandrake 9.1
Posts: 19

Rep: Reputation: 0
Lilo: kernel doesn't support initial ram disks.


Hi there.
I had mandrake 9.1 installed for quite some time. But due to windows screwing my hard drive, I had to format the whole thing, and lost mandrake. So I installed it again.
This time round though, when I go to change the lilo settings it says 'kernel doesn't support initial ram disks' and doesnt save. This never happened on my older install of mandrake. :S

Any ideas how I can fix this?
 
Old 07-22-2004, 05:34 AM   #2
ecion
LQ Newbie
 
Registered: Jan 2004
Location: United Kingdom
Distribution: Mandrake 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
*bump*
Anyone?
 
Old 07-22-2004, 05:45 AM   #3
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
first, i'd suggest using another version of Mandrake. 9.2, or ideally, 10.0. MDK9.1 is not longer supported by Mandrake, so you're gonna be left in the cold as far as updates/bug fixes are concerned. while 9.1 was a fine release, 10.0 is much better, IMHO.

if the above is not an option, then could you please post your lilo.conf file here? it's in /etc. in a terminal as root, type....... cat /etc/lilo.conf & copy/paste the info here. could you also post your hard drive layout, type & amount of ram & swap?

otis
 
Old 07-22-2004, 06:26 AM   #4
ecion
LQ Newbie
 
Registered: Jan 2004
Location: United Kingdom
Distribution: Mandrake 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
Another version of mandrake isnt really an option for me. Being on a 56K dial up connection.

lilo.conf
Quote:
boot="/dev/hda"
map=/boot/map
install=menu
vga=normal
default=Windows_XP
keytable=/boot/uk.klt
nowarn
message=/boot/message
menu-scheme=wb:bw:wb:bw
other=/dev/hda1
label="Windows_XP"
table=/dev/hda
image="/boot/mxlinuz"
label="Linux_Mandrake"
root="/dev/hda5/"
append="quiet devfs=mount hdc=ide-scsi acpi=off"
read-only
image="/boot/mxlinuz"
label="failsafe"
root="/dev/hda5/"
append="failsafe devfs=nomount hdc=ide-scsi acpi=off"
read-only
image="/dev/hda1"
label=""
root="/dev/hda5/"
append="quiet devfs=mount hdc=ide-scsi acpi=off"
read-only
But this is not how it shows up, when lilo appears "linux" is on the top, not "windows". (both do not have the names I gave them either)

Its a laptop system, 512Megs of RAM with a 40gig harddrive. One ntfs partition for xp. Diskdrake shows two ext3 partitions, "/" and "/home", and then theres the 430meg swap.

Last edited by ecion; 07-22-2004 at 06:28 AM.
 
Old 07-22-2004, 06:36 AM   #5
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
well, again, if there's any way you can get ahold of a newer version (have someone else download them for you, perhaps?) i'd highly recommend it.

as for your problem, try adding the following to your "append=" lines in lilo........

Code:
resume=/dev/hdXY
where X=the partition letter that /swap resides on & Y=the /swap partition number.

look at my lilo for examples (in red)

Code:
boot=/dev/hda
map=/boot/map
vga=normal
default="mandrake9.2"
keytable=/boot/us.klt
prompt
nowarn
timeout=1200
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
	label="mandrake9.2"
	root=/dev/hda7
	initrd=/boot/initrd.img
	append="devfs=mount splash=silent hdd=ide-scsi acpi=off resume=/dev/hda6"
	vga=788
	read-only
image=/boot/vmlinuz
	label="linux-nonfb"
	root=/dev/hda7
	initrd=/boot/initrd.img
	append="devfs=mount splash=silent hdd=ide-scsi acpi=off resume=/dev/hda6"
	read-only
other=/dev/fd0
	label="floppy"
	unsafe
image=/boot/vmlinuz
	label="failsafe"
	root=/dev/hda7
	initrd=/boot/initrd.img
	append="failsafe devfs=nomount splash=silent hdd=ide-scsi acpi=off 
resume=/dev/hda6"
	read-only
image=/mnt/mandrake2/boot/vmlinuz-2.6.3-15mdk
	label="mandraketest"
	root=/dev/hda12
	initrd=/mnt/mandrake2/boot/initrd-2.6.3-15mdk.img
	append="devfs=mount splash=silent acpi=off resume=/dev/hda11"
	vga=788
	read-only
make sure you run lilo -v as root after editing to save changes.

otis
 
Old 07-22-2004, 06:42 AM   #6
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
also, from your lilo.conf...........

Quote:
image="/boot/mxlinuz"
what is MXlinuz? i've never seen that one. i've only ever seen VMlinuz. if the resume= addition doesn't help, try changing that to vmlinuz, unless there's a specific reason that it should be MX. and, if so, could you educate me about that please?

otis
 
Old 07-22-2004, 06:52 AM   #7
ecion
LQ Newbie
 
Registered: Jan 2004
Location: United Kingdom
Distribution: Mandrake 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
nope, adding that line didn't help.

opps, that 'mxlinuz' was a typo. (because I was copying it from the screen as i dont have the laptop connected to the internet)
 
Old 07-22-2004, 07:02 AM   #8
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
ok, try adding an initrd line to lilo. again, look at my example below.......

Code:
image=/boot/vmlinuz
	label="mandrake9.2"
	root=/dev/hda7
	initrd=/boot/initrd.img
	append="devfs=mount splash=silent hdd=ide-scsi acpi=off resume=/dev/hda6"
	vga=788
	read-only
again, run lilo -v as root afterwards.

otis
 
Old 07-22-2004, 07:12 AM   #9
ecion
LQ Newbie
 
Registered: Jan 2004
Location: United Kingdom
Distribution: Mandrake 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
tryed that, it gets so far, then errors out.
Quote:
reading boot sector from /dev/hda
using menu secondary loader
calling map_insert_data
mapping message file /boot/messange -> message text
calling map_insert_file

boot other: dev/hda1, on /dev/hda, loader CHAIN
added Windows_XP *

boot image: /boot/vmlinuz -> vmlinuz-2.4.21-0.13mdk
mapping ram disk /boot/initrd.img ->initrd-2.4.21-0.13mdk.img
added Linux_Mandrake

boot image: /boot/vmlinuz -> vmlinuz-2.4.21-0.13mdk
added failsafe

boot image: /dev/hda1 -> ide/host0/bus0/target0/lun0/part1
fatal: duplicate label ""
 
Old 07-22-2004, 07:22 AM   #10
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
could you please post your lilo.conf file again, as it currently is? i just want to check your entries & syntax. and, can you post your exact partitioning layout? what i mean is, your hard drvie will be hda. i'd like to know what each partition is. IE: is windows hda1, /root hda2, /home hda3, etc.). and, do you have a seperate /boot partition or does /boot reside in /root?

otis
 
Old 07-22-2004, 07:25 AM   #11
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
Try editing out the last section of the file
Code:
image="/dev/hda1"
label=""
root="/dev/hda5/"
append="quiet devfs=mount hdc=ide-scsi acpi=off"
read-only
You have hda1 and hda5 mentioned in the same section
 
Old 07-22-2004, 07:31 AM   #12
ecion
LQ Newbie
 
Registered: Jan 2004
Location: United Kingdom
Distribution: Mandrake 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
lilo.conf:

boot="/dev/hda"
map=/boot/map
install=menu
vga=normal
default=Windows_XP
keytable=/boot/uk.klt
nowarn
message=/boot/message
menu-scheme=wb:bw:wb:bw
other=/dev/hda1
label="Windows_XP"
table=/dev/hda
image="/boot/vmlinuz"
label="Linux_Mandrake"
root="/dev/hda5/"
initrd=/boot/initrd.img
append="quiet devfs=mount hdc=ide-scsi acpi=off resume=/dev/hda6"
read-only
image="/boot/vmlinuz"
label="failsafe"
root="/dev/hda5/"
append="failsafe devfs=nomount hdc=ide-scsi acpi=off resume=/dev/hda6"
read-only
image="/dev/hda1"
label=""
root="/dev/hda5/"
append="quiet devfs=mount hdc=ide-scsi acpi=off"
read-only


Hard Drive Layout, from DiskDrake:

Mount point: /mnt/windows
Device: hda1
DOS drive letter: C
Type: NTFS
Size: 33GB
Formatted
Mounted

Mount point: /
Device: hda5
Type: Journalised FS: ext3
Size: 2.1GB
Formatted
Mounted

Mount point: swap
Device: hda6
Type: Linux Swap
Size: 439MB
Formatted
Mounted

Mount point: /home
Device: hda7
Type: Journalised FS: ext3
Size 1.4GB
Formatted
Mounted
 
Old 07-22-2004, 07:34 AM   #13
ecion
LQ Newbie
 
Registered: Jan 2004
Location: United Kingdom
Distribution: Mandrake 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
MDG
I've just done, that it didnt complain when doing lilo -v after. however now when i boot up i have no bootloader at all, it goes striaght to windows. :\


EDIT: correction, the bootloader is there, you see it say 'lilo loading windows_xp' or somthing like that (too fast). but it no longer gives me an option of which I want to boot.

Last edited by ecion; 07-22-2004 at 07:37 AM.
 
Old 07-22-2004, 07:39 AM   #14
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
me thinks mdg just nailed it above. didn't notice that initially. what the last entry in lilo supposed to be for? from your lilo........

Quote:
image="/dev/hda1"
label=""
root="/dev/hda5/"
append="quiet devfs=mount hdc=ide-scsi acpi=off"
read-only
put a # mark in front of image to comment it out, like this.........

Code:
#image="/dev/hda1"
label=""
root="/dev/hda5/"
append="quiet devfs=mount hdc=ide-scsi acpi=off"
read-only
again, run lilo -v as root.

any idea why that entry was there? did you add it for some reason?

otis
 
Old 07-22-2004, 07:42 AM   #15
ecion
LQ Newbie
 
Registered: Jan 2004
Location: United Kingdom
Distribution: Mandrake 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
nope, havn't a clue what it was.
but as I said above, I can't get back in to linux, its loads striaght into windows,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Configuring LiLO Error 'Initial RAM disk.... and is too big to fit between 4M-15M..' elliotfuller Linux - General 1 09-07-2005 11:22 PM
16GB RAM -Kernel support niranjan_mr Linux - Hardware 1 09-01-2005 01:21 AM
How to add language support after initial install griesslr Linux - Software 5 06-14-2005 06:07 PM
Ram Disks or toram boot Bennoo Linux - General 2 03-31-2005 10:22 PM
Fatal:Kernel doesn't support initial RAM disks techstar25 Linux - Newbie 4 07-18-2003 07:56 PM

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

All times are GMT -5. The time now is 03:58 PM.

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