Results 1 to 1 of 1
Is there somebody here that could tell me how to setup LILO to install onto the MBR of an external hdd (sda). I will be doing this while running linux ...
- 07-07-2009 #1Just Joined!
- Join Date
- Jan 2009
- Location
- Titusville, FL
- Posts
- 13
install LILO on external hdd
Is there somebody here that could tell me how to setup LILO to install onto the MBR of an external hdd (sda). I will be doing this while running linux from the internal hdd (hda).
Here is lilo.conf on hda (sda has exactly the same thing, in fact, everything is the same on sda, because its a copy of hda):
======================================
large-memory
boot=/dev/hda
root=/dev/hda1
map=/boot/map
delay=20
default=Linux
image=/vmlinuz
label=Linux
read-only
initrd=/initrd.img
image=/vmlinuz.old
label=LinuxOLD
read-only
optional
initrd=/initrd.img.old
=======================================
This configuration is out of the box. How I found it after installation. I have not modified it.
Here is the mtab file while the USB drive is plugged in and running:
================================================== =================
/dev/hda1 / ext3 rw,errors=remount-ro 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
procbususb /proc/bus/usb usbfs rw 0 0
udev /dev tmpfs rw,mode=0755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
/dev/hda9 /home ext3 rw 0 0
/dev/hda8 /tmp ext3 rw 0 0
/dev/hda5 /usr ext3 rw 0 0
/dev/hda6 /var ext3 rw 0 0
/dev/hdb /media/cdrom0 iso9660 ro,noexec,nosuid,nodev,user=himrockffan 0 0
/dev/sda1 /media/XPbackupSystem fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0
/dev/sda5 /media/Usr ext3 rw,nosuid,nodev,uhelper=hal 0 0
/dev/sda6 /media/Var ext3 rw,nosuid,nodev,uhelper=hal 0 0
/dev/sda3 /media/disk fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0
/dev/sda2 /media/disk-1 ext3 rw,nosuid,nodev,uhelper=hal 0 0
/dev/sda9 /media/Home ext3 rw,nosuid,nodev,uhelper=hal 0 0
/dev/sda8 /media/Tmp ext3 rw,nosuid,nodev,uhelper=hal 0 0
================================================== ===================
The root partition is sda2.
Ultimately I what to boot from the USB hdd. Any help would be greatly appreciated.


Reply With Quote