PDA

View Full Version : hd based install for 3.4



nvgringo
06-26-2004, 01:52 AM
Can someone help set up a guide for hd-based install. I read the docs I even wrote a step by step guide and posted it here. But that was before boot.img went away. I know that I can create a boot.img with a script. That might be the best way to go. But what I would like to do is setup lilo to boot with isolinux. maybe even give a choice of linux 2.4 or linux 2.6. I want to set this up on an empty 2 gig hard drive. 3 partitions 1.)800 or so megs for Knoppix 2.) 250 meg for swap and 3.) whatever is left for a home directory. I can partition and format the drive. I can mount the drive and copy the Knoppix files. It's the part with setting up Lilo that I can't figure out.

One other Idea that I had was setting up another seperate partition copying the iso there and use the bootfrom=hdaX
cheatcode.

burke3gd
06-28-2004, 10:47 AM
Check this out:

How can I boot KNOPPIX off my hard drive?
http://www.yak.net/fqa/347.html

nvgringo
06-29-2004, 02:03 AM
Thank you very much for talking the time to answer my post. I've seen that one

Do you see this part?

Copy the CDROM (which appears under /cdrom in KNOPPIX) whole into the target partition. Then mount a boot floppy image (it's in /cdrom/KNOPPIX) onto /y and copy its files into the target partition as well.

# cp -r /cdrom/* /z
# mkdir /y
# mount -o loop /cdrom/KNOPPIX/boot-en.img /y
# cp /y/* /z

The problem that I am having is that the boot.img is not there on 3.4
I think that I can create one by using this script
http://knoppix.net/forum/viewtopic.php?t=10956
Then I could use the steps here:
http://www.knoppix.net/forum/viewtopic.php?t=8943
But is that the best way?
Does anyone know if using the make boot.img script loads all of the drivers?
Is there a better way to set up LILO with the linux24 and minirt24?

Another thought. What about putting the knoppix ISO in one partition(hda1), then putting a copy of the CD with the KNOPPIX/KNOPPIX file stripped out(hda2). then map LILO to boot from the boot files on hda2 Bu then use the cheatcode in the append section of LILO bootfrom=hda1 so you could boot the ISO.