Results 1 to 4 of 4

Thread: lilo in a dual boot

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Mar 2008
    Posts
    3

    Default lilo in a dual boot

    I am trying to dual boot bt2 and xp on my laptop.
    It is a 50 gig scsi hardrrive so the partitions are /dev/sda.
    This is all done from a usb pen drive
    I followed the dual boot xp and bt2 video from offensive security, but when it came time to modify lilo.conf, it just didnt work.

    these are my partitions
    sda1 - windows xp ntfs
    sda2 - swap
    sda3 - kernel and boot files
    sda4 - root
    when the video started to show how to modify the lilo.conf , I followed exactly has he had done, except changing the /dev/hda to /dev/sda and putting the proper partitions.

    so lilo.conf ended up being like this (without messages)
    ---------------------------
    boot = /dev/sda
    prompt
    timeout = 1200
    change-rules
    reset

    vga 773

    other = /dev/sda1
    label = xp
    table = /dev/sda


    image = /boot/vmlinuz
    root = /dev/sda4
    label = bt
    read-only
    -----------------------------

    when I type lilo -v I get :

    Reading boot sector from /dev/sda
    fatal: trying to map files from unnamed device 0x000d (NFS/Raid mirror down?)

    I am probably making a stupid mistake somewhere but I cant see it, or I should be doing something completely different because of my hard drive settings.

    any suggestions?

    thanks

  2. #2
    Developer
    Join Date
    Mar 2007
    Posts
    6,124

    Default

    I've never seen that error before. The most common mistake in this situation is that the user has not executed the chroot properly. That would be the command right before editing lilo where you

    bt~#chroot /mnt/backtrack /bin/bash

    At that point your prompt should change to bt~\ if you have completed the chroot correctly.

  3. #3
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default

    Quote Originally Posted by pureh@te View Post
    I've never seen that error before. The most common mistake in this situation is that the user has not executed the chroot properly. That would be the command right before editing lilo where you

    bt~#chroot /mnt/backtrack /bin/bash

    At that point your prompt should change to bt~\ if you have completed the chroot correctly.
    I have seen this part of it "fatal: trying to map files from unnamed device "
    It was as you stated I had not done the chroot command correctly and wrote lilo any way and got the same.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  4. #4
    Just burned his ISO
    Join Date
    Mar 2008
    Posts
    3

    Default

    Thank you very much, you guys were right.

    Re did chroot.

    Got it installed and everything running perfectly.

    While we are here though, my laptop would not boot from the usb unless I typed in the cheat bt acpi=off. If booting from lilo on the HDD, will I have to retype this same cheat or can I do without?

    If I do end up having to type it, is there some way that the cheat can be incorporated into lilo.conf so it is done automatically?

    Thanks again

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •