Is anything in this Linux procedure specific to Knoppix? - TechRepublic
Question
July 30, 2008 at 08:10 AM
charliespencer

Is anything in this Linux procedure specific to Knoppix?

by charliespencer . Updated 17 years, 11 months ago

I’ve got to build a production Linux system to transfer data to flash cards. The existing process in our other facility uses a Knoppix CD to boot a Linux system. I’m trying to figure out why they’re booting an Linux system off a LiveCD. So far the only reason I can come up with is Knoppix has some capability that other distributions don’t.

Please look at the procedure and commands below and see if there’s any reason this couldn’t be done booting from the hard drive, or if there are any commands that are unique to Knoppix. I’d like to load a distro on the H/D and just boot from there. Before anybody asks, I’ve never seen Knoppix and haven’t yet looked up what most of these commands do.

Preliminary steps:

Connect USB flash card reader.
Boot from Knoppix CD.
Insert compact flash card in reader.
From Knoppix main menu go to ?KNOPPIX  Set password for root?
Right-click on hda3 on the desktop and click Mount.
Navigate to /media/hda3/root

Open a terminal session:

mount /dev/hda3 /media/hda3
cd /media/hda3/root
dd if=nia-720.img of=/dev/hde
cd niafs720
sfdisk -f /dev/hde /dev/null
sfdisk -f /dev/hde <128mb1.part> /dev/null
mkfs.ext3 /dev/hde1
mount ?t ext3 /dev/hde1 /mnt/hde1
tar ?zxf instimage.tgz ?C /mnt/hde1
rm ?rf /mnt/hde1/var
tar ?zxf uss.tgz ?C /mnt/hde1
chroot /mnt/hde1
lilo ?v 3 ?C etc/lilo.config
umount /dev/hde1

This discussion is locked

All Comments