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 - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-17-2004, 05:04 AM   #1
kcorupe
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Arch
Posts: 107

Rep: Reputation: 15
grub + booting a knoppix like distro


Heres what I did, I installed Auditor linux, knoppix like distro to hda1. rebooted back into fc2 and reinstalled grub to the mbr, and tried to add auditor to grub.

I can get Auditor to boot, but it goes to kernel panic, and says stuff about Ramdisk [4532 != 32541].
Or something like that. (sorry I don't have exact error)
I am assuming that it has something to do with the ramdisk line, I am not sure if I have it right.


Thanks for any help!

Kyle


heres my grub.conf file.

----------------------------------------------------------------
title Fedora Core (2.6.9)
root (hd0,4)
kernel /boot/vmlinuz-2.6.9 ro root=/dev/hda5 3
initrd /boot/initrd-2.6.9.img
title AuditorLinux
root (hd0,0)
kernel /boot/vmlinuz-2.6.6 ramdisk=100000
initrd /boot/initrd.img-2.6.6
[root@localhost k0rupted]#
---------------------------------------------------------------

And here is the lilo.conf from the auditor partition. (wich is not used)


/mnt/hda1/etc/lilo.conf
---------------------------------------------------------------
default="Linux"

image=/boot/vmlinuz
label="Linux"
initrd=/boot/initrd.img
append="ramdisk_size=100000 init=/etc/init lang=ch dma nodhcp noapm noagp hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi screen=1024x768 nowheelmouse nomce quiet"
read-only
image=/boot/vmlinuz-2.6.6
label="Linux(2.6)-1"
initrd=/boot/initrd.img-2.6.6
append="ramdisk_size=100000 init=/etc/init lang=ch dma nodhcp noapm noagp hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi screen=1024x768 nowheelmouse nomce quiet"
read-only
--------------------------------------------------------------
 
Old 12-17-2004, 08:51 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
kernel /boot/vmlinuz-2.6.6 ramdisk=100000
You probably won't need the ram disk part when booting from hard drive.
Try it looking like the Fedora line ....
kernel /boot/vmlinuz-2.6.6 ro root=/dev/hda1

Also, if there is a link from vmlinuz-2.6.6 to just vmlinuz then you
can use kernel /boot/vmlinuz ro root=/dev/hda1 and you don't have to worry about updating the grub.conf if you update the kernel
 
Old 12-17-2004, 04:57 PM   #3
kcorupe
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Arch
Posts: 107

Original Poster
Rep: Reputation: 15
I removed the ramdisk line, but I still get this error.

--------------------------------------
RAMDISK: Compressed image found at block 0
RAMDISK: incomplete write (2048 != 32768) 17235968
Kernel panic: VFS: unable to mount root fs on hda6
--------------------------------------


------my grub file -------------------
title Fedora Core (2.6.9)
root (hd0,4)
kernel /boot/vmlinuz-2.6.9 ro root=/dev/hda5 3
initrd /boot/initrd-2.6.9.img
title AuditorLinux
root (hd0,0)
kernel /boot/vmlinuz-2.6.6 ro root=/dev/hda1
initrd /boot/initrd.img-2.6.6
-------------------------------------

I just have no idea...

Kyle
 
Old 12-17-2004, 05:30 PM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
Kernel panic: VFS: unable to mount root fs on hda6
That seems to be looking for root on /dev/hda6 . Are you sure the grub looks like this ...
root (hd0,0)
 
Old 12-17-2004, 07:11 PM   #5
kcorupe
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Arch
Posts: 107

Original Poster
Rep: Reputation: 15
well I had to do

grub > root (hd0,4)
grub > setup (hd0)

to get grub working again in FedoraCore.

do I need to do

grub > root (hd0,0)

to allow the other one to boot? I did not know that if thats the case.




thanks,
Kyle
 
Old 12-17-2004, 07:58 PM   #6
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Can you post your actual grub.conf and the output of /dev/fdisk -l and show which partition the new linux is loaded onto?
 
Old 12-17-2004, 08:57 PM   #7
kcorupe
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Arch
Posts: 107

Original Poster
Rep: Reputation: 15
Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 608 4883728+ 83 Linux
/dev/hda2 2552 4864 18571581+ f W95 Ext'd (LBA)
/dev/hda3 609 2552 15607178+ 83 Linux
/dev/hda5 2552 4782 17920476 83 Linux
/dev/hda6 4783 4863 650601 82 Linux swap

Partition table entries are not in disk order

------------------------------------------
My grub.....
-----------------------------------------------
title Fedora Core (2.6.9)
root (hd0,4)
kernel /boot/vmlinuz-2.6.9 ro root=/dev/hda5 3
initrd /boot/initrd-2.6.9.img
title AuditorLinux
root (hd0,0)
kernel /boot/vmlinuz-2.6.6 ro root=/dev/hda1
initrd /boot/initrd.img-2.6.6
 
Old 12-17-2004, 09:08 PM   #8
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
Partition table entries are not in disk order
That maybe where the problem comes from.
Try
root (hd0,2)
kernel /boot/vmlinuz-2.6.6 ro root=/dev/hda3
initrd /boot/initrd.img-2.6.6

Other than that I'm out of ideas but if it was my machine, I'd be inclined to redo the partition table.

Last edited by homey; 12-17-2004 at 09:25 PM.
 
  


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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
Knoppix 3.6 Not Booting Up [BTV]Aco Linux - General 7 06-17-2005 10:52 AM
Booting Knoppix from CD Binnsy Linux - Newbie 1 05-04-2005 03:39 AM
booting knoppix hunk420 Linux - Newbie 8 09-23-2004 06:55 PM
booting a distro within an already booted distro webwolf70 Linux - General 4 06-30-2004 08:10 AM

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

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