Simon wrote:
> On Friday 06 May 2005 06:49 pm, Mikkel L. Ellertson wrote:
> 
> 
>>Use the "Mount your partitions under /mnt" and then the "Go to console"
>>options. Once you have the console prompt, run "chroot /mnt". Then edit
>>/etc/fstab with the editor of your choice. This will let you get rid of
>>the bad swap entry.
> 
> This is what my fstab file looks like:
> # This file is edited by fstab-sync - see 'man fstab-sync' for details
> /dev/hda1 / ext2 defaults 1 1
> /dev/hda6 /home ext2 defaults 1 2
> /dev/hdc /mnt/cdrom auto 
> umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0
> /dev/hdd /mnt/cdrom2 auto 
> umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0
> none /mnt/floppy supermount 
> dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 
> 0
> /dev/hdb1 /mnt/mdk10.2leFresh ext2 defaults 1 2
    ^                        ^
*** | Delete the line above. | ***

> none /proc proc defaults 0 0
> /dev/hda5 swap swap defaults 0 0
> /dev/hdb5 swap swap defaults 0 0
    ^                        ^
*** | Delete the line above. | ***

> 
> I want to get rid of the references to the hdb drive, 
> 
>>Mext, take a look at /etc/lilo.conf. The line you want to check is
>>"boot=/dev/hda" or something like that. Because you are using System
>>Commander, you will need to have the boot entry point to your root or
>>/boot partition. You then need to make sure your System Commander menu
>>entry is set to boot from that partition. Make sure you remember to run
>>lilo after making the changes.
> 
> 
> This is the lilo.config file:
> # File generated by DrakX/drakboot
> # WARNING: do not forget to run lilo after modifying this file
> 
> default="2681-24"
> boot=/dev/fd0

Change "boot=/dev/fd0" to "boot=/dev/hda1".

<-------------------[ SNIP ]------------------------------------>
> 
> What should I be changing? My boot info is in the root partition hda1.
> 
> Thanks for your help.
> Simon.
> 
Delete the two lines marked above in your /etc/fstab file. This will get
rid of the referenves to the drive you removed.

Right now, lilo is trying to install to your floppy drive. Where you
want it to install is to /dev/hda1, your root partition. Don't forget to
run lilo after making the change in the config file.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for you are crunchy and taste good with Ketchup!

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to