Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Dual-booting Linux (ext2) and Windows XP (ntfs)
Results 1 to 8 of 8

Thread: Dual-booting Linux (ext2) and Windows XP (ntfs)

  1. #1
    Associate
    Join Date
    Aug 2004
    Posts
    10

    Dual-booting Linux (ext2) and Windows XP (ntfs)

    Here's the general scenerio:

    I've given up with lilo after wasting an entire day trying to dual boot the two OS's with it.

    I've opted to use the Windows XP boot manager. I have two hard drives. Primary master has Windows XP on it, primary slave has Slackware Linux 9.0 on it.

    So... I booted into Linux with my rescue disk and copied the MBR over to a file. This file, called BOOTSECT.LNX, is stored in C: now.

    I've edited boot.ini as follows:
    [boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=" Microsoft Windows XP Home Edition" /fastdetect
    C:\BOOTSECT.LNX="Slackware Linux"

    When I restart my computer the boot manager works flawlessly. That is until I select Linux.

    Linux starts up fine. All that garbage magically flows by the screen until Linux kicks me in the balls with kernel panic. What seems to happen is it tries to mount my root file system (ext2) via FAT. It can't grab the superblock.

    Any help, or further questions? Thanks.

    EDIT: Also note I can boot up my Linux system fine with my boot disk.

  2. #2

    Re:Dual-booting Linux (ext2) and Windows XP (ntfs)

    Hi,

    Have you checked our tutorial on this?

  3. #3
    Mentor Stuart's Avatar
    Join Date
    May 2002
    Location
    nb.ca
    Posts
    1,087

    Re:Dual-booting Linux (ext2) and Windows XP (ntfs)

    He must have, he has copied the BOOTSECT.LNX file to his windows partition.

  4. #4

    Re:Dual-booting Linux (ext2) and Windows XP (ntfs)

    Shouldn't he had ran /sbin/lilo -v somewhere along the line?

  5. #5

    Re:Dual-booting Linux (ext2) and Windows XP (ntfs)

    [quote author=Stuart link=board=2;threadid=9705;start=0#msg88175 date=1093230008]
    He must have, he has copied the BOOTSECT.LNX file to his windows partition.
    [/quote]
    Maybe. Maybe he got that info from somewhere else.

  6. #6
    Mentor Stuart's Avatar
    Join Date
    May 2002
    Location
    nb.ca
    Posts
    1,087

    Re:Dual-booting Linux (ext2) and Windows XP (ntfs)

    I asked him at school today, and he said that the PET here on LJR is what he had used.
    Could it have anything to do with the fact that he is using two hard drives?

  7. #7

    Re:Dual-booting Linux (ext2) and Windows XP (ntfs)

    When you grab that first 512 bytes off your hdd, you're supposed to grab a copy of LILO, not the MBR. So, reinstall LILO onto the partition that has Linux and make sure it it only boots Linux. Then do "dd if=<linux> of=bootsect.lnx bs=512 count=1" and copy that over to your WinXP drive.

    Here's what's happening: the Windows bootloader is using that copy of LILO that you made to find where the real Linux MBR is located. If you don't have LILO installed, a copy of the MBR isn't going to help the NTLDR find Linux.

    Suggestion: use a floppy to boot Linux and install LILO.

  8. #8
    Mentor
    Join Date
    May 2001
    Location
    New Jersey
    Posts
    1,473

    Re:Dual-booting Linux (ext2) and Windows XP (ntfs)

    HearWa--- lilo needs to be installed on the first sector of the root drive NOT IN THE MBR....

    Choose the first sector of your root partition. This will be /dev/hda2 if on the same hard drive or /dev/hdb1 if on another drive.
    The boot= directive in /etc/lilo.conf tells Lilo where it should place its primary boot loader. In general, you can either specify the master boot record (/dev/hda) or the root partition of your Linux installation (is usually is /dev/hda1 or /dev/hda2).

    edit the lilo.conf file and make the boot= read what /dev/h** linux is installed on.

Similar Threads

  1. Windows to Linux: Value of Dual-booting
    By nanouk in forum Windows - General Topics
    Replies: 6
    Last Post: 01-17-2013, 12:30 PM
  2. Dual booting W2K and Linux
    By peter in forum Tutorials
    Replies: 0
    Last Post: 11-24-2008, 02:58 AM
  3. dual booting Windows XP and Slackware
    By s33k in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 11-27-2006, 07:28 AM
  4. Am dual booting with XP, want to pull drive with Linux
    By chumley in forum Linux - General Topics
    Replies: 6
    Last Post: 07-13-2004, 06:30 PM
  5. Dual booting, Linux/XP and cd glitch
    By mikeee in forum Linux - General Topics
    Replies: 6
    Last Post: 05-27-2002, 01:44 PM

Bookmarks

Posting Permissions

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