| < Day Day Up > |
Recipe 13.8. Copying Files to a CD-R/RW13.8.1 ProblemYou have a CD writer on your PC, and you would like to burn files to a CD-R/RW. 13.8.2 Solution
The absolute
When you're finished with the setup wizard, close it, and open System
13.8.3 Discussion
K3b is a great CD/DVD-writing interface, one of the best on any platform. It is logically organized, and it hides all the grotty details of CD/DVD writing, so you don't have to navigate bales of
13.8.4 See Also
|
| < Day Day Up > |
| < Day Day Up > |
Recipe 13.9. Editing Configuration Files from Knoppix13.9.1 ProblemSomeone with more confidence than knowledge (maybe even you) "fixed" something in a configuration file and now the system won't boot. You need to fix it. But how do you edit a file on a machine that won't boot? 13.9.2 Solution
This is a perfect job for Knoppix. You can
Boot up your Knoppix disk to KDE. Right-click the icon on the desktop for the filesystem you want to use, left-click "Mount," then left-click "Change read/write mode." Open a root shell, then navigate to the file you want to edit and open it with the editor of your choice: knoppix@ttyp0[knoppix]$ su root@ttyp0[knoppix]# cd /mnt/hda3/etc root@ttyp0[etc]# kate inittab & Now you can edit the file, just as you normally would.
It's easy to become
root@ttyp0[etc]# pwd
/mnt/hda3/etc
Remember that the filesystems on your PC's hard
13.9.3 DiscussionKnoppix comes with a variety of window managers: larswm, IceWM, XFce, Windowmaker, Fluxbox, and TWM. But only KDE comes with the Knoppix menu and desktop icons for all of your partitions. Just like with any Linux, you can also do everything from the console. To mount a filesystem as readable/writable, use:
root@ttyp0[knoppix]# mount -o rw /mnt/hda3
To open a file for editing, use:
root@ttyp0[knoppix]# vim /mnt/hda3/etc/inittab
Knoppix autodetects your filesystems and partitions and creates an /etc/fstab file, so you can look in there to find mountpoints. 13.9.4 See Also
|
| < Day Day Up > |
| < Day Day Up > |
Recipe 13.10. Installing Software from Knoppix13.10.1 Problem
You need to run
apt-get
,
apt-rpm
,
up2date
, or some other
13.10.2 SolutionIn Knoppix, you can chroot to the root filesystem on the hard drive. Open a Knoppix root shell, then do: root@ttyp0[knoppix]# mount -o rw /mnt/hda6 root@ttyp0[knoppix]# chroot /mnt/hda6 root@Knoppix:/
This gives you a root shell in the filesystem on the hard drive, as though you were
13.10.3 Discussion
From an ordinary Knoppix session it's easy to keep track of your whereabouts, as all the filesystems on the hard drive are mounted under
/mnt
. But in
chroot
, you won't see Knoppix files. If you get
13.10.4 See Also
|
| < Day Day Up > |