Results 1 to 9 of 9

Thread: Configuring LILO - problem with Default

Hybrid View

  1. #1
    Junior Member
    Join Date
    Nov 2004
    Posts
    5

    Configuring LILO - problem with Default

    I have installed Windows XP and Knoppix 3.6 on my computer, single harddisk with two partitions, one for Windows and the other one for Knoppix, now everything works fine, and LILO works too, but when I tried to change the default booting operating system from Linux to Windows, I cannot seem to do it, and when I run Lilo, this is what I get:

    Added Linux
    Added Linux(2.4)-1
    Added Linux(2.6)-2
    Added WinXP
    Fatal: Default image doesn't exist.

    What do I need in my lilo.conf to fix it? As I can't remember if I've deleted anything that I shouldn't have in the file... Thanks

    lba32
    boot=/dev/hda
    root=/dev/hda2
    bitmap=/usr/share/lilo/debianlilo.bmp
    bmp-colors=1,,0,2,,0
    bmp-table=120p,173p,1,15,17
    bmp-timer=254p,432p,1,0,0
    install=bmp
    delay=20
    timeout=50
    map=/boot/map
    vga=791

    default='Linux"

    image=/boot/vmlinuz
    label="Linux"
    initrd=/boot/initrd.img
    append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce quiet lang=en screen=1280x800"
    read-only
    image=/boot/vmlinuz-2.4.27
    label="Linux(2.4)-1"
    initrd=/boot/initrd.img-2.4.27
    append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce quiet lang=en screen=1280x800"
    read-only

    image=/boot/vmlinuz-2.6.7
    label="Linux(2.6)-2"
    initrd=/boot/initrd.img-2.6.7
    append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce quiet lang=en screen=1280x800"
    read-only

    other=/dev/hda1
    label="WinXP"

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555

    Re: Configuring LILO - problem with Default

    Quote Originally Posted by yche086
    Fatal: Default image doesn't exist.
    Do you mean that you can run lilo with the above lilo.conf, but get the error when changing 'default='Linux"' to 'default='WinXP"'? This should work, though... You could try moving the windows entry firts, and comenting out the "default" line; the 1st entry will then become the default.

  3. #3
    Junior Member
    Join Date
    Nov 2004
    Posts
    5
    Hi again,

    Actually I've just stuffed up my lilo when I was playing with it... and I found out that the problem is its not actually configuring using the lilo.conf file? Was I modifying the right file? (/etc/lilo.conf) i.e. is there a way to to Lilo which configuration file I want to use? So now neither Windows nor Linux will boot because I've done something (yes, I know, sorry that's the best I can say, I'm new to LInux...) ! I still have access to my partitions, but I'm using the Knoppix 3.6 CD to boot now because I've stuffed up my Lilo, how can I reload Lilo to my MBR?? Thanks for the help

    PS:
    /dev/hda1 is my Windows XP and
    /dev/hda2 is my Knoppix (HDD installed version)

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    Quote Originally Posted by yche086
    how can I reload Lilo to my MBR?
    Assuming what you gave in the initial post is what you're seeing as /mnt/hda2/etc/lilo.conf, you can re-install via:
    - boot knoppix to text mode "knoppix 2 noswap" at the boot prompt
    - mount /mnt/hda2
    - chroot /mnt/hda2
    - lilo -v
    Pay attention to possible error messages; if there are none, you can reboot and should have a working boot loader.

  5. #5
    Junior Member
    Join Date
    Nov 2004
    Posts
    5
    This is what I got on the screen after I did what you said:

    /dev/mapper/control: open failed: Permission denied
    Is device-mapper driver missing from kernel?
    /dev/mapper/control: open failed: Permission denied
    Is device-mapper driver missing from kernel?
    Incompatible libdevmapper 1.00.19-ioctl (2004-07-03)(compat) and kernel driver
    Reading boot sector from /dev/hda
    Fatal: open /dev/hda: Permission denied

    Any idea what this means?

    Thanks

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    Quote Originally Posted by yche086
    Any idea what this means?Thanks
    Ouch! Sorry, no, I have never seen this mapper problem before. Maybe someone here has and could advise?

    I take it you're seeing the messages when running lilo, right? Can you visualise your partition table (fdsik/cfdisk/qtparted) without problem, or should we perhaps start suspecting a corruption there?

    Also you could try booting off the CD with the other kernel revision (2.4 if you had been using 2.6, and vice-versa; check the <F2> help screen at boot time for the appropriate cheat-code).

  7. #7
    Junior Member
    Join Date
    Nov 2004
    Posts
    5
    # mount -o dev /dev/hda1 /mnt/hda1; chroot /mnt/hda1
    # lilo -v
    This is what I found here: http://www.knoppix.net/forum/viewtopic.php?t=7532, that did the trick and its now back up and running, thanks for the help, much appreciated

  8. #8
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981

    Re: Configuring LILO - problem with Default

    Quote Originally Posted by yche086
    I have installed Windows XP and Knoppix 3.6 on my computer, single harddisk with two partitions, one for Windows and the other one for Knoppix, now everything works fine, and LILO works too, but when I tried to change the default booting operating system from Linux to Windows, I cannot seem to do it, and when I run Lilo, this is what I get:

    Added Linux
    Added Linux(2.4)-1
    Added Linux(2.6)-2
    Added WinXP
    Fatal: Default image doesn't exist.

    What do I need in my lilo.conf to fix it? As I can't remember if I've deleted anything that I shouldn't have in the file... Thanks

    lba32
    boot=/dev/hda
    root=/dev/hda2
    bitmap=/usr/share/lilo/debianlilo.bmp
    bmp-colors=1,,0,2,,0
    bmp-table=120p,173p,1,15,17
    bmp-timer=254p,432p,1,0,0
    install=bmp
    delay=20
    timeout=50
    map=/boot/map
    vga=791

    default='Linux"

    image=/boot/vmlinuz
    label="Linux"
    initrd=/boot/initrd.img
    append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce quiet lang=en screen=1280x800"
    read-only
    image=/boot/vmlinuz-2.4.27
    label="Linux(2.4)-1"
    initrd=/boot/initrd.img-2.4.27
    append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce quiet lang=en screen=1280x800"
    read-only

    image=/boot/vmlinuz-2.6.7
    label="Linux(2.6)-2"
    initrd=/boot/initrd.img-2.6.7
    append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce quiet lang=en screen=1280x800"
    read-only

    other=/dev/hda1
    label="WinXP"
    Is this copied from the atual lilo.conf? or typed in?

    because you appear to have a typo:

    default='Linux"
    Single quote preceding Linux & the double quote following.

    Should be both double quotes.

  9. #9
    Junior Member
    Join Date
    Nov 2004
    Posts
    5
    Is this copied from the atual lilo.conf? or typed in?
    That was a typo when I was playing around with lilo.conf, but that was not the problem though, I think the problem was some stuff to do with root access, but I have fixed that now, THANKS!!

Similar Threads

  1. Strange problem configuring lan.
    By knoppix-user in forum Networking
    Replies: 1
    Last Post: 05-23-2004, 07:14 PM
  2. configuring lilo.
    By pcorajr in forum General Support
    Replies: 1
    Last Post: 04-11-2004, 12:41 AM
  3. Configuring LILO
    By legal in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 01-15-2004, 04:44 PM
  4. Problem configuring devices - solved, bad disk
    By drg55 in forum Hardware & Booting
    Replies: 0
    Last Post: 11-23-2003, 09:10 AM
  5. LILO switching default OS
    By satoshi in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 10-31-2003, 12:58 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
  •  


Vintage 1979 UNIVAC 2818418 Mainframe Computer Logic Circuit Board Sperry picture

Vintage 1979 UNIVAC 2818418 Mainframe Computer Logic Circuit Board Sperry

$74.95



Vintage UNIVAC 3620670-01 Mainframe Logic Board 15MHz Sperry Computer PCB picture

Vintage UNIVAC 3620670-01 Mainframe Logic Board 15MHz Sperry Computer PCB

$98.95



IBM MST-2 370 Integrated Circuit Computer Chips Lot Of 43 Rare 1970s Vintage picture

IBM MST-2 370 Integrated Circuit Computer Chips Lot Of 43 Rare 1970s Vintage

$224.10



Vintage 1971 UNIVAC 4092590-00 Mainframe Computer Logic Circuit Board PCB picture

Vintage 1971 UNIVAC 4092590-00 Mainframe Computer Logic Circuit Board PCB

$55.71



VINTAGE  RARE Overland 9 Track tape drive for mainframe computer storage picture

VINTAGE RARE Overland 9 Track tape drive for mainframe computer storage

$800.00



Mainframe Computer Data Punch Card Lot of 50 Orange 80 Column IBM comp Vtg NOS picture

Mainframe Computer Data Punch Card Lot of 50 Orange 80 Column IBM comp Vtg NOS

$15.00



Vtg IBM Mainframe Prototype Chip Module Lot 146 pc 1988-1993 ES/9000 Lab Arcive picture

Vtg IBM Mainframe Prototype Chip Module Lot 146 pc 1988-1993 ES/9000 Lab Arcive

$649.00



IBM Prototype ES/9000 Mainframe Computer MCM CPU Vintage White Ceramic Gold picture

IBM Prototype ES/9000 Mainframe Computer MCM CPU Vintage White Ceramic Gold

$1000.00



Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25 picture

Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25

$679.15



HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer picture

HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer

$165.58