10.Right-click the USB device on your desktop and (Web hosting top)

10.Right-click the USB device on your desktop and select Unmount. This action makes sure that all your data was saved properly. Recovering a Root Password with KnoppixIf you re using SuSE, Linspire, or another distribution that requires you to entera root password even to enter single user mode, you need external tools tohelp you recover when you forget what your root password is. This problemis another major reason that many system administrators keep Knoppix onhand. To recover your root password, do the following: 1.Place the Knoppix CD or the DVD-ROM that came with this book intoyour CD-ROM or DVD-ROM drive. 2.Reboot the computer. If you re using the DVD-ROM that came with this book, press Enter whenyou reach the boot menu. If, for some reason, the DVD-ROM doesn tboot, see Appendix B. 3.After the computer successfully boots into Knoppix, determine whichpartition refers to your main Linux installation. You re looking for your root (/) partition. Chapter 11 details what youfind there if that helps. Basically, open each of the partition icons onyour desktop and figure out which one looks like the right section ofyour filesystem. 4.After you find the proper partition, if you currently don t have a filebrowser window open anywhere within that partition, click the parti- tion icon to open the browser now. For example, if the root partition is /dev/hda3, click the Hard DiskPartition [hda3]icon. 5.Click the Terminal Program icon on your panel. A terminal window opens. 6.Type su -to access the root user s account. You re not prompted for a password. 7.Make sure to close the file browsing window that s accessing yourroot partition. 8.Type mount -r remount rw /dev/partitionto remove the partitionand re-add it as a full read-write filesystem. For example, if your root partition was on /dev/hda3, you type cd/ mnt/hda3.381Chapter 21: Ten CoolUses for Knoppix29_

Leave a Reply