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
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/hdb5 swap swap defaults 0 0

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
map=/boot/map
keytable=/boot/uk.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
 label="linux"
 initrd=/boot/initrd.img
 append="acpi=ht resume=/dev/hda5 splash=silent"
 vga=788
 read-only
image=/boot/vmlinuz
 label="linux-nonfb"
 root=/dev/hda1
 initrd=/boot/initrd.img
 append="splash=silent acpi=ht resume=/dev/hda5"
 read-only
image=/boot/vmlinuz-2.4.27-0.pre2.1mdk
 label="2427-0pre21"
 root=/dev/hda1
 initrd=/boot/initrd-2.4.27-0.pre2.1mdk.img
 append="acpi=ht resume=/dev/hda5 splash=silent"
 vga=788
 read-only
image=/boot/vmlinuz-2.6.8.1-12mdk
 label="2681-12"
 root=/dev/hda1
 initrd=/boot/initrd-2.6.8.1-12mdk.img
 append="acpi=ht resume=/dev/hda5 splash=silent"
 vga=788
 read-only
image=/boot/vmlinuz-2.6.8.1-24mdk
 label="2681-24"
 root=/dev/hda1
 initrd=/boot/initrd-2.6.8.1-24mdk.img
 append="acpi=ht resume=/dev/hda5 splash=silent"
 vga=788
 read-only
image=/boot/vmlinuz
 label="failsafe"
 root=/dev/hda1
 initrd=/boot/initrd.img
 append="failsafe noapic splash=silent acpi=ht resume=/dev/hda5 devfs=nomount"
 read-only

What should I be changing? My boot info is in the root partition hda1.

Thanks for your help.
Simon.

____________________________________________________
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