Richard Adams wrote: > > On Sun, 30 Jan 2000, you wrote: > > First thanks to: > > > > Richard Adams, Kenneth Stephen and Lawson for your reply, and making > > things bright to me. > > > > Next: > > > > I have the mentioned computer setup with 2 harddisks where the /hda is > > the win98 partition, and > > and the second harddisk is the SuSE linux one on /hdb. > > > > Now I want to remove the win98 harddisk and make the second harddisk the > > /hda. > > > > How can that be done ?? Hello Richard. I thank you so much for your reply. I would be glad too if you will comment out what I shall do exactly as I have here included a view of my /dev's: Device Name From To Blocks Partition type /dev/hda1 1 1023 1031252 b Win95 FAT32 /dev/hdb1 1 5 20128 83 Linux native /dev/hdb2 6 38 133056 82 Linux Swap /dev/hdb3 39 970 3757824 83 Linux Native The lilo.conf is attached to this mail. > Use the program 'rdev' > > For example; > > Inatsll lilo on a floppy, just edit /etc/lilo.conf and change > boot = /dev/hdb > to > /dev/fd0 > > run lilo > > Now do; > > rdev /dev/fd0 /dev/hda2 > > You dont say on which partition the root filesystem is, so i have used > /dev/hda2 as an example. > It all comes down to everything changes in respect of /dev/hdb to /dev/hda so > if the root dilesystem is located on hdb2 it will become hda2 > > Once you have changed the disks and rebooted from floppy edit /etc/lilo.conf > once again and change > > boot = /dev/fdo > to > /dev/hda > Change all lilo entries from /dev/hdbx to /dev/hdax > rerun lilo > > You will have to use rdev again this way, this time > > rdev /boot/image_name /dev/hda2 > remember all images will have to be told to boot from /dev/hdax > > This is in my opinion one of the easiest ways there are other ways. > > 73's > > > -- > > Erik Jakobsen - OZ4KK - [EMAIL PROTECTED] > > SuSE Linux 6.3 > -- > Regards Richard > [EMAIL PROTECTED] > http://people.zeelandnet.nl/pa3gcu/ I do not hope I'm boring you too much ??. -- Erik Jakobsen - OZ4KK - [EMAIL PROTECTED] SuSE Linux 6.3
# LILO Konfigurations-Datei # Start LILO global Section # If you want to prevent console users to boot with init=/bin/bash, # restrict usage of boot params by setting a passwd and using the option # restricted. #passwd=bootpwd #restricted boot=/dev/fd0 #compact # faster, but won't work on all systems. vga=normal read-only prompt timeout=30 # End LILO global Section other = /dev/hda1 label = dos table = /dev/hda # image = /boot/vmlinuz root = /dev/hda7 label = linux # image = /boot/vmlinuz.suse root = /dev/hda7 label = suse
