![]() |
![]() |
![]() ![]() ![]() ![]() ![]() ![]() The
Linux Message Board
|
If you have any tips or troublshooting FAQs that you would like to share
with the world e-mail me at tekmate@cafecomputer.com
You've installed Windows and lilos gone and Linux wont boot now what? Grab a copy of tomsrtbt and boot your system from it. Log in as root and mount your root partition on /mnt like this, 'mount -t ext2 /dev/hdax /mnt' ( where x is the number of your root partition ) Now type '/sbin/lilo -r /mnt/etc' This will rewrite your boot sector using the lilo.conf file from your hard drive and not the floppy Your hard drive crashed and you didn't backup ( shame on you ) You will need 2 hard drives the bad one and a known good one, at least as large as the bad one. Put the new good drive in your sytem and boot from tomsrtbt and login as root ( this assumes the bad drive is hda and you've put the new one in as hdc ) Create a filesystem on the new drive with fdisk and mk2fs make it ext2 At the command line type 'dd conv=noerror if=/dev/hda1 of=/dev/hdc1' When this is done you want to check your data If the old drive was a Linux system run 'e2fsk -y /dev/hdc1 If the old drive was a Windows system place it in a Windows machine and run scandisk and defrag on it
|
Send mail to john@cafecomputer.com
with questions or comments about this web site.
Copyright © 2000, 2001 John E. Pisini, all rights reserved.