trying to update lilo on my usb hdd tells me /etc/lilo.conf wasn't found
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
trying to update lilo on my usb hdd tells me /etc/lilo.conf wasn't found
I installed slackware with lilo on the mbr of /dev/sdb2 (primary linux partition on my usb drive) and I need to go in and change lilo.conf so it gives me a rootdelay=10.
to do so i need to boot from the slackware dvd, mount my usb drive, and edit lilo.conf (done) and re-run /sbin/lilo. When I do this it tells me /etc/lilo.conf doesn't exist.
I think it's because i have /dev/sdb2 mounted to /mnt/linuxsys and /sbin/lilo is looking for lilo.conf at /etc, not /mnt/linuxsys/etc.
Is this probably right? and if so, could making a symlink somewhere help in some way?
I installed slackware with lilo on the mbr of /dev/sdb2 (primary linux partition on my usb drive) and I need to go in and change lilo.conf so it gives me a rootdelay=10.
to do so i need to boot from the slackware dvd, mount my usb drive, and edit lilo.conf (done) and re-run /sbin/lilo. When I do this it tells me /etc/lilo.conf doesn't exist.
I think it's because i have /dev/sdb2 mounted to /mnt/linuxsys and /sbin/lilo is looking for lilo.conf at /etc, not /mnt/linuxsys/etc.
Is this probably right? and if so, could making a symlink somewhere help in some way?
You can use this command to install lilo :
lilo -C /mnt/linuxsys/etc/lilo.conf -b /dev/sdb
Make a lilo.conf by yourself if /mnt/linuxsys/etc/lilo.conf doesn't exist.
By the way , executing liloconfig is a very simple way to install it.
Last edited by hello.freeman; 04-22-2010 at 12:32 PM.
I installed slackware with lilo on the mbr of /dev/sdb2 (primary linux partition on my usb drive) and I need to go in and change lilo.conf so it gives me a rootdelay=10.
to do so i need to boot from the slackware dvd, mount my usb drive, and edit lilo.conf (done) and re-run /sbin/lilo. When I do this it tells me /etc/lilo.conf doesn't exist.
I think it's because i have /dev/sdb2 mounted to /mnt/linuxsys and /sbin/lilo is looking for lilo.conf at /etc, not /mnt/linuxsys/etc.
Is this probably right? and if so, could making a symlink somewhere help in some way?
To create a functional Linux system in a USB hard drive is quite complicated ... because the hard drive devices changes depending on the system where is plugged.
I recommend a UUID based /etc/fstab, and so configuration in /etc/lilo.conf
To run lilo into target partition, is quite simple: lilo -r /target/partition/mountpoint
ok I edited my lilo.conf and tried running /sbin/lilo -C /mnt/linuxsys/etc/lilo.conf -b /dev/sdb and it tells me two things.
first, it tells me "Warning: /dev/sdb is not the first disk"
also, it tells me "creat /boot/map~ : File or directory not found"
now what should I do?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.