[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Knoppix 6 CD to hard disk



Frank

Before answering the question you posted to the debian-knoppix list, I'd like to be sure I understand exactly what you are attempting to do. Based on what you posted you could be trying to do two separate things.

Are you trying to install the CD image to a separate hard-drive and then boot and run Knoppix from that hard drive? (1)

or

Are you going to boot the Knoppix CD and then try to install it to the hard drive on the system you booted the CD-ROM on. (2)

If you have booted up with the Knoppix CD-ROM (2) the Live-CD runs and it has an install to disk menu option already on it. All you have to do is use that option and Knoppix will install itslf to a hard-drive in the system the Knoppix CD ROM is running on. 

On the other hand, if you want to create a bootable image of the Knoppix CD-ROM on a hard-drive or USB key then you will have to do that manually.


Boot the Knoppix Live CD-ROM and open a terminal

First you must mount the Knpppix CD-ROM using the loopback device driver so it appears to the system like a hard-drive partition with a file systems to the system's command line tools.

Next, format the destination device or use Gparted or PartImg to create a parition big enough on the destination device to hold the loo-back mounted file system. If you need to know how big the mounted file system actually is, then do the following from the command line:

dd if=/dev/cdrom/ of=/dev/null/

/dev/cdrom is the mount point of the loop back file system (Knoppix CD-ROM)

when the above 'dd' command finishes, it will display a count in blocks and bytes of the total size your destination device needs to be. The /dev/null device is just a bit bucket that will act like a device but the transferred bytes are just throan away.

Use Gparted to size a partition big enough (bytes and blocks) to hold the loop back mounted file system. If you can, add about 20 Meg to the total size you get from the dd command just to be safe.

Once you have the partition sized correctly, mount the destination device.

mount /mnt/destinationHD  /dev/destinationDevice

After you have the formatted, sized partition mounted issue the following command  at the file prompt

dd if=/mnt/(locaction of the loop back Live CD) of=/mnt/destinationHD

This will copy the entire Live CD partition including the boot record, parition table, and file system to the destination device. This will take some time to copy so I suggest you put the process in bg.

Prince Riley





On Fri, Mar 27, 2009 at 10:26 AM, C.T.F. Jansen <frank.jansen@actrix.gen.nz> wrote:
Greetings,
        How does one install a knoppix 6.0 CD to the hard disk ? Have
only found an undocumented program /usr/bin/flash-knoppix that apparently
installs knoppix on to a USB memory stick. The text in the box that
appears is in German too ...
 Can't access www.knoppix.net because it insists on replies to its port
33000+ packets, for no particular reason, and all the RPC stuff is turned
off on this system.
 Thanks in advance.

frank.jansen@actrix.gen.nz, ZL2TTS                                :-)
 

--
To UNSUBSCRIBE, email to debian-knoppix-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: