-
Fix LILO?
I installed http://www.bastille-linux.org/ via apt-get and it worked great in securing my laptop.
But, when configuring Bastille, it must have done something to LILO, cause I didn't receive a boot prompt for my OS (Knoppix and XP) when rebooting.
I found this in the forums while searching,
http://www.knoppix.net/forum/viewtop...highlight=lilo, but I want to be very careful and not hose anything up further.
Here is my question.
1. Bott of Knoppix CD
2. mount your HD knoppix partition
Knoppix resides on HDA3, so I have to mount this correct?
3. Open root shell and type : chroot /mnt/hda2 <enter>
Does HDA only apply to this example?
4. Type lilo <enter>
5. Reboot computer
thanks
[/code]
-
Senior Member
registered user
You would also have to edit your /etc/lilo.conf on your install and remove the comment in front of the prompt line and make sure there is also a delay=100 line which would give you a delay of 10 seconds before boot.
So the steps would be:
1. Boot Cd
2. Open root shell
3. mount /dev/hda3 /mnt/hda3
4. Edit /mnt/hda3/etc/lilo.conf and save file
5. chroot /mnt/hda3/ /sbin/lilo -v
6. Reboot and hope Bastille likes the changes
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
Stephen
You would also have to edit your /etc/lilo.conf on your install and remove the comment in front of the prompt line and make sure there is also a delay=100 line which would give you a delay of 10 seconds before boot.
So the steps would be:
1. Boot Cd
2. Open root shell
3. mount /dev/hda3 /mnt/hda3
4. Edit /mnt/hda3/etc/lilo.conf and save file
5. chroot /mnt/hda3/ /sbin/lilo -v
6. Reboot and hope Bastille likes the changes
I've tried the steps above, but didn't have any success with it.
The output that it did create a prompt for Linux, but when rebooting, I didn't get a prompt for XP/Knoppix.
Please advise.
thanks
-
Senior Member
registered user
try press the control key or the alt key.
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
JockVSJock
I've tried the steps above, but didn't have any success with it.
The output that it did create a prompt for Linux, but when rebooting, I didn't get a prompt for XP/Knoppix.
Please advise.
thanks
You did make sure when you were editing the lilo.conf that the sections for the Linux and XP boot options were there uncommented also? Could you boot from the CD or HD and post the lilo.conf from your machine so we can look at it.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
garyng
try press the control key or the alt key.
Hmmm...that worked...but why?
Any more info. to help out this curious soul would be awesome.
-
Senior Member
registered user
I don't understand why the designer of lilo choose it that way, giving a clueless prompt and wait for the user to press the said key to present the menu. This is very confusing IMO and doesn't help in promoting linux to the public.
-
you should add a "-o dev,suid" to the mount command
mount -o suid,dev /dev/hdxx /mnt/hdxx
Similar Threads
-
By whoeverheis in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 03-25-2005, 07:13 PM
-
By tomjermy in forum Hardware & Booting
Replies: 1
Last Post: 03-17-2005, 01:07 AM
-
By emartinson in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 06-21-2004, 04:22 AM
-
By Simon_Haddad in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 10-22-2003, 08:07 PM
-
By sminotti in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 08-04-2003, 03:59 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![MSI Z490-A PRO LGA1200 Intel 10th Gen USB3.2 Gen2 ATX Motherboard picture](/store/img/hy8AAOSwjsBmmuki/s-l225//MSI-Z490-A-PRO-LGA1200-Intel-10th-Gen-USB3-2-Gen2-.jpg)
MSI Z490-A PRO LGA1200 Intel 10th Gen USB3.2 Gen2 ATX Motherboard
$66.99
![GIGABYTE B450M DS3H WIFI (AMD Ryzen AM4/M.2/HMDI/DVI/USB 3.1/DDR4 Motherboard picture](/store/img/oaoAAOSwl2RkUzG5/s-l225//GIGABYTE-B450M-DS3H-WIFI-AMD-Ryzen-AM4-M-2-HMDI-DV.jpg)
GIGABYTE B450M DS3H WIFI (AMD Ryzen AM4/M.2/HMDI/DVI/USB 3.1/DDR4 Motherboard
$64.99
![ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture](/store/img/FhQAAOSwzL9iDqc3/s-l225//ASUS-H110M-R-Motherboard-Intel-6th-7th-Gen-LGA1151.jpg)
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
![Gigabyte GA-Q170M-D3H-GSM LGA1151 DDR4 Desktop Motherboard w/ I/O Plate picture](/store/img/lIMAAOSwF5BmkHwt/s-l225//Gigabyte-GA-Q170M-D3H-GSM-LGA1151-DDR4-Desktop-Mot.jpg)
Gigabyte GA-Q170M-D3H-GSM LGA1151 DDR4 Desktop Motherboard w/ I/O Plate
$49.99
![Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard picture](/store/img/MIEAAOSwj61mmkfY/s-l225//Asus-Prime-H310M-A-R2-0-Intel-LGA-1151-DDR4-Deskto.jpg)
Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard
$54.99
![Asus Prime H570-PLUS LGA1200 ATX Motherboard | Fast Ship, US Seller picture](/store/img/sUsAAOSw2~dloH2z/s-l225//Asus-Prime-H570-PLUS-LGA1200-ATX-Motherboard-Fast-.jpg)
Asus Prime H570-PLUS LGA1200 ATX Motherboard | Fast Ship, US Seller
$64.97
![Asus Prime A320M-K mATX AM4 Motherboard (Ryzen 1000-5000 Ready) picture](/store/img/v2sAAOSwFuxlhzOj/s-l225//Asus-Prime-A320M-K-mATX-AM4-Motherboard-Ryzen-1000.jpg)
Asus Prime A320M-K mATX AM4 Motherboard (Ryzen 1000-5000 Ready)
$49.99
![MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard picture](/store/img/4AcAAOSwHa1mPO05/s-l225//MSI-PRO-B650-P-WiFi-AMD-AM5-DDR5-WiFi-6E-ProSeries.jpg)
MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard
$95.95
![ASUS B85M-E Motherboard Intel B85 (4th Gen) LGA1150 DDR3 microATX picture](/store/img/sjQAAOSw8blmdbCX/s-l225//ASUS-B85M-E-Motherboard-Intel-B85-4th-Gen-LGA1150-.jpg)
ASUS B85M-E Motherboard Intel B85 (4th Gen) LGA1150 DDR3 microATX
$39.99
![ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI picture](/store/img/gR8AAOSwhlJkracH/s-l225//ASUS-PRIME-Z690-P-WIFI-D4-ATX-Motherboard-Intel-LG.jpg)
ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI
$99.99