On Wednesday 09 July 2003 06:11 pm, Nicholas wrote:
> i read a documentation on howto remove grub from linux partition
> and reinstall it back with lilo, but the guy provided wrong info by
> telling the public to : use a win98 startup disk to run fdisk /mbr
>
> then when the time i reboot using a linux startup disk, it actually
> cant find any partition. i am now headache with that!!!!!!!!!!!!!!
>
> because i have 40 gig of information in my partition. help!!!!!!

Not to worry, fdisk / mbr only write your MBR. All your data should still be 
there.
If you don't have a linux boot floppy, the thing you can do is 

1. Get your Linux CD 1
2. make a directory in /mnt, eg
$> mkdir myroot
Try to mount your root partition there, if you don't know which one, just try 
it, no harm will be done, eg;
$> mount /dev/hda[x] myroot

change [x] with number (1,2,3) until you find your root (by entering that 
directory and look around. It should have directory like etc/, usr/ ) If you 
got mount fail, try with different number. If you mount the wrong partition, 
unmount and try different number.

3. Once you got the root partition in /mnt/myroot, see if you have lilo.conf 
file in /mnt/myroot/etc/lilo.conf. If you do, you're in luck and do the 
following:
3a
- change your root
$> chroot /mnt/myroot
- Run lilo
$> /sbin/lilo
-Reboot and be happy

If you don't have lilo.conf already, you need to find your /boot partition 
(assuming it's separate from the / partition). Make another directory in 
/mnt/myboot and try to find it by doing 2 above. Remember the partition 
number, and then write your lilo.conf in /mnt/myroot/etc/lilo.conf.

After that do 3a and you should be fine.

Hope that helps.
RDB
-- 
Reuben D. Budiardja


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to