-
lilo wont install to harddisk
Hi,
I have both windows XP (hda1) and Linux (hda5) running on my laptop. I would like to install lilo on hda5 and use NT loader to boot into either OS. I have boot of the laptop using Knoppix CD, however when I try to install lilo onto /dev/hda5, I have receive the following error:
Fatal: create /boot/map~: Read-only file system
I have search through the forum along with other site to no avail. Any help would be appreciated.
P.S. I have mounted the file system and have no problem read/write to it.
mount /dev/hda5 /mnt/hda5
lilo.conf
boot=/dev/hda5
dealy=10
ramdisk=0
root=/dev/hda5
image=vmlinuz
initrd=initrd
label=linux
Thanks in advance
-
A little more information on my progress so far. I have created:
/mnt/hda5/etc/lilo.conf
/mnt/hda5/dev
/mnt/hda5/boot
Run the following command:
lilo -v -r /mnt/hda5
NOW, I have received the following error:
Fatal: raid_setup: stat("/dev/hda5")
Not sure what this error is referring to, I have no raid setup on the laptop. It just a simple single drive with two partion.
Anyone with any suggestion?
-
I had the exact same problem.
It turned out to be that my lilo.conf was munged and didn't have a initrd option in it.
What I did is add:
initrd=/initrd.img
to my /vmlinuz block of my lilo.conf.
ALSO when I was trying to fix my lilo.conf from a debian boot disk I read there was some problem with running lilo in chroot.
So I mounted the broken partitions to /target and did a chroot to /target and ran lilo and it fixed everything.
Hopefully this will help someone!!
Similar Threads
-
By ed9598 in forum General Support
Replies: 1
Last Post: 01-02-2005, 02:18 AM
-
By gieltje in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 05-30-2004, 09:06 PM
-
By Panada in forum General Support
Replies: 9
Last Post: 04-12-2004, 02:08 PM
-
By david90schr in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 01-26-2004, 04:24 PM
-
By bitwarrior in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 08-16-2003, 03:57 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
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$580.99
Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot
$73.29
1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed
$28.99
Samsung 1TB 850 EVO 2.5" SATA Solid State Drive MZ7LE1T0 ** READ **
$48.99
CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD
$9.00
WD - Blue SN580 1TB Internal SSD PCIe Gen 4 x4 NVMe
$64.99
1TB HDD 3.5" SATA Hard Drive with Windows 10 or Windows 11 Pro/Home Installed
$16.55
Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive
$67.99
512GB 1TB 2tb 4tb 256g M.2 2280 SSD SATA3 Internal Solid State Drive Lot Dogfish
$271.99
Netac 2TB 1TB 512GB 240GB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot
$118.99