PDA

View Full Version : how would copy and boot the cd's files/image



opensource_powered
08-10-2004, 07:25 PM
I have a laptop that doesn't have a cdrom. It is connected to my home lan via ethernet.

I have done a network install of Redhat 9.0 and all is well.

I would like to put Knoppix/debian on it... either by a hard drive install or by just booting the knoppix image from files copied to the laptop's hard drive.

Is this possible.
Can I copy the files from the cd, off of a Knoppix cd which is mounted on my lan's server, to a free partition on my laptop and then mount and run the previously copied image??? How?

Johnny

PS... thanks for your assistance

mzilikazi
08-10-2004, 10:53 PM
Yes it can be done and it is not that difficult. Docs have been written on the very subject. I hate to tell you to go RTFM but I also have no intentoin of rewriting something that already exists.

opensource_powered
08-11-2004, 12:41 AM
Many thanks.

Your reply tells me where to go!!!

Your reply does not give the slightest 'hint' of what to search for!!!

Why did you reply at all.

Are you really that arrogant?

mzilikazi
08-11-2004, 02:07 AM
Many thanks.

Your reply tells me where to go!!!

Your reply does not give the slightest 'hint' of what to search for!!!

It doesn't? OK I'll write it a little more clearly.

READ THE DOCUMENTATION!! There is a link at the top of this very page called Docs. If you click it it will take you to ......oh I dunno.....THE DOCUMENTATION!!! Here's the part you want:

FaqHdBased - FAQ about booting the Knoppix compressed filesystem from HD

Unless I'm mistaken that's EXACTLY what you want to do.


Why did you reply at all.

Because no one else took pity on you and bothered to reply on either of the posts you left. At least I was kind enough to tell you IT"S IN THE DOCS!!


Are you really that arrogant?

Apparently I am. :P

It's so funny. You ask a question that someone spent hours answering in a nice format that anyone can read but you don't feel that you're required to read it. Instead you want someone to rewrite in on your post and you have the audacity to call me arrogant???

Admit it. You haven't even bothered to click the Docs link have you?

opensource_powered
08-11-2004, 03:58 AM
You 'get off' putting people down....

don't you,

little man,

go play with your self,

probably all you'll ever get

eco2geek
08-11-2004, 10:46 AM
Look: Don't dis mzilikazi. He knows a lot about this crap, and is usually a lot of help. :!:

Assuming you've got GRUB installed (it's what Red Hat uses, right?), and your existing / partition is /dev/hda1, all you have to do to simulate a Knoppix CD boot from the hard drive is:

- Make a folder named /KNOPPIX (all caps) on hda1.
- Copy the huge /KNOPPIX/KNOPPIX file from a Knoppix 3.4 CD to it.
- Also copy whatever kernel/miniroot pair you want. If you want kernel 2.4, copy /boot/isolinux/linux24 and /boot/isolinux/minirt24.gz from the CD to your /KNOPPIX dir on hda1. If you want kernel 2.6, use linux26 and minirt26.gz.

Let's say you chose kernel 2.6, using the "minirt26.gz/linux26" pair. So now you've got a directory, /KNOPPIX, on hda1 that contains:

KNOPPIX
minirt26.gz
linux26

You could then add a stanza to menu.lst like this:

# For booting Knoppix off the hard disk
title Boot Knoppix 3.4 from hard disk (kernel 2.6)
# Requires /KNOPPIX/KNOPPIX, miniroot, and kernel on hda1
kernel (hd0,0)/KNOPPIX/linux26 noapm fromhd=/dev/hda1 lang=us keyboard=us alsa vga=791
initrd (hd0,0)/KNOPPIX/minirt26.gz

Note that your "cheatcodes" like "noapm" and "alsa" go on the line that starts with "kernel."

Note also that you will not be able to access hda1 read-write when you do this; just read-only (just like it was a CD-ROM).

If you want to create a partition specifically to hold the ~700M KNOPPIX file, just make sure you put it in a directory called /KNOPPIX, and change (hd0,0) to whichever partition it really is.

P.S. Did I forget to say, don't dis mzilikazi?