Results 1 to 8 of 8
Hi,
I have Mandriva 2009 installed on my main boot drive.
I have another drive that I wish to run LILO off of, since I will be updating its kernel.
...
- 06-19-2009 #1Linux Newbie
- Join Date
- Apr 2008
- Posts
- 110
Running LILO on a secondary drive
Hi,
I have Mandriva 2009 installed on my main boot drive.
I have another drive that I wish to run LILO off of, since I will be updating its kernel.
The problem is that that drive runs as part of a set-top box like application, so it boots right up to the main application program, and there's no way for me to boot up from it into a shell and run LILO.
Is there any way I can update LILO of that drive, while booted up from my Mandriva box? I've read about chroot but I'm not sure how to use it, despite reading the man page.
Thanks.
- 06-19-2009 #2
if you want to run lilo command form that drive that you ll have to boot from that drive as far as I know.
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 06-19-2009 #3Linux Newbie
- Join Date
- Apr 2008
- Posts
- 110
AFAIK LILO simply reads lilo.conf and writes the boot sector to the specified drive. Isn't there a way to do this remotely, given lilo.conf and the destination drive(eg. /dev/sdb)? Sounds to me like there should?
- 06-19-2009 #4
when you execute the lilo command it write infor to the current HD and not to some other HDD. I suggest that u boot form other HDD and configure the lilo.conf and give the lilo command . And as for the remote call you said I dont think there a some command to do that but i wish there was one would have saved lot of work
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 06-19-2009 #5Linux Newbie
- Join Date
- Apr 2008
- Posts
- 110
The problem like I said is that I can't boot up from the other HDD. It doesn't boot up to a shell.
- 06-19-2009 #6
yes it can be done
You have to edit the lilo.conf file for that there is a option
change this to the HDD on which you want to install the lilo but make a backup of the lilo.conf file before you try any stuntsCode:boot=/dev/hda
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 06-19-2009 #7Linux Newbie
- Join Date
- Apr 2008
- Posts
- 110
I know how to change lilo.conf, but I don't know how to apply the changes by running the actual lilo command.
- 06-19-2009 #8
Make a backup first
Dude this is my sincere advice that you first make a backup
change the boot to the HDD on which you want to install the MBRdepending on you HDDCode:boot=/dev/hdx or boot=/dev/sdx
after making changes come out and run this command
It will now show you the entries it has done on the MBRCode:lilo
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu


Reply With Quote
