Editing Lilo
I am having trouble in lilo file. I'm having boot problem. My lilo file is like this:
boot = /dev/sda image = /boot/vmlinuz label = Linux root = /dev/sda7 other = /dev/sda1 label = Windows table = /dev/sda I have installed both Windows 7 and Slackware 13.31, when I start my machine, it directly boots Windows 7 without prompting option to choose those two OS. |
What happens when you actually run lilo?
|
how to run lilo?
Actually I installed both Windows 7 and Slackware 13.37. Slackware in /dev/sda7 and Windows in /dev/sda1
There was message while installing lilo. Which was like this: Warning: Device 0x0800:Inconsistent partition table, 1st entry CHS address in PT:0:1:1 --> LBA(63) LBA address in PT:19-->CHS (0:0:20) Fatal:Either FIX-TABLE or IGNORE-TABLE must be specified If not sure, first try IGNORE-TABLE(-p ignore) After that When I completed installation and restarted my machine, Windows 7 directly started. Later I used BackTrack disk and checked the lilo.conf file, which was like mentioned above. By the way how to run lilo? |
Boot from the DVD or CD and follow the rescue instructions.
Quote:
DNA AKAmrascii |
You simply type lilo at the command prompt, but you need to be up and running first.
BTW that "FATAL" error means lilo did not install that is why Windows is still booting by itself. Step one is boot into Slackware :- do this by using the install CD/DVD and on the screen that comes up there are instructions on how to do just that Step two is work out why lilo hates your hdd partition table, you can post it here by getting the output from "fdisk -l" |
Partition Table
root@soul:/# fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes 224 heads, 19 sectors/track, 73444 cylinders, total 312581808 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x7b0534cf Device Boot Start End Blocks Id System /dev/sda1 * 19 41942879 20971430+ 7 HPFS/NTFS/exFAT /dev/sda2 41942880 312581807 135319464 f W95 Ext'd (LBA) /dev/sda5 41942899 125828639 41942870+ 7 HPFS/NTFS/exFAT /dev/sda6 125828659 209714399 41942870+ 7 HPFS/NTFS/exFAT /dev/sda7 209714419 229713231 9999406+ 83 Linux /dev/sda8 229713251 308581167 39433958+ 83 Linux /dev/sda9 308581187 312581807 2000310+ 82 Linux swap |
Quote:
It should look like this :- Code:
Device Boot Start End Blocks Id System |
The output of fdisk -l is like this:
Quote:
|
Ok some reading later and the ignore option is safe and should work.
Do not use the fix option as it may break your Windows install. Looks like Windows didn't create it's partition record correctly, out by one sector. |
Isn't there any solution then, I don't want to ruin the windows and want to boot slackware without DVD
|
Have you tired running lilo with the "-P ignore" option yet?
|
-P ignore solved the problem
Thanks mrascii and wildwizard,-P ignore option solved my problem.
|
All times are GMT -5. The time now is 10:19 AM. |