View Poll Results: Did this procedure work for you?

Voters
42. You may not vote on this poll
  • Yes

    31 73.81%
  • No

    11 26.19%
Page 1 of 9 123 ... LastLast
Results 1 to 10 of 87

Thread: [HOWTO]: Dual-boot Knoppix with Windows NT/2000/XP

  1. #1
    Member registered user
    Join Date
    Jun 2003
    Posts
    32

    [HOWTO]: Dual-boot Knoppix with Windows NT/2000/XP

    Ok, I just confirmed that this procedure works. Tried it on TWO PC's. One XP, the other 2000.

    This procedure will install a 'true' dual-boot of Knoppix. Not poor-man's install, REAL dual-boot. Plus, with the help of some free tools, you can do it without damage to your data.... Here it goes...

    (Expected System Configuration, modify if needed): 2 physical Hard disks. C:\ drive is NTFS with Win NT/2k/XP installed. D:\ drive is empty.


    (1) MOST IMPORTANT: Make backups of all your important data. Imagine that all your data is gone. Think about what you need to backup. Although this procedure shouldn't cause any data loss, when you're doing something of this magnitude (messing with partitions and installing new OS), you should backup. Not to mention that you should REGULARLY backup!!

    (2) Create an 'ERD' (Emergency Repair Disk). This can restore your MBR in case you really goof! The process depends on your OS:
    (2a) Windows NT 4: Run 'RDISK.exe'.
    (2b) Win 2000 and XP: Start the Windows Backup tool, then choose 'Emergency Repair Disk'. XP/2k users have the Recovery Console and FIXMBR, plus XP users have a 'repair install' mode, so an ERD isn't too necessary for them.

    (3) Boot the Knoppix CD.

    (4) Start a Terminal session.

    (5) Type in sudo knx-hdinstall (yes, use this older install script. From my experience, it's more stable/reliable.)

    (6) Next, partition your /dev/hdb. I'm no Linux partition expert, so I just make a 300MB swap partition and use the remaining space for a Linux partition.

    (7) The steps from here to after files copy should be self-explanatory.

    ( Once you get to the prompt 'Install LILO into MBR?', make sure you answer NO. Failure to do so could mean that your Windows boot partition will be removed, and you'll have to use your ERB/ Recovery Console.

    (9) When prompted to make a boot floppy, make sure you make a boot floppy!. It's REQUIRED in a later step.

    (10) Once Knoppix setup is done, remove the floppy and reboot. Make sure Windows still works. After doing so, pat yourself on the back... the hardest part is over!!

    (11) Next, start up your computer from the boot floppy. It should load the copy of Knoppix that you just installed. If this works, then pat yourself on the back again! You're almost done!

    (12) Once Knoppix is running, get to a console/terminal again. Make sure your boot floppy is still inserted!

    (13) Issue the command dd if=/dev/hdx# of=/bootsect.knx bs=512 count=1. This will copy the Linux bootsector to a file. Replace hdx# with your installation partition (like hdb2)

    (14) Now, insert a blank floppy into your floppy drive. Issue the command mkfs.msdos /dev/fd0. This will format the floppy to a Windows/FAT12 filesystem.

    (15) Issue mount /dev/fd0

    (16) Now, copy that bootsector image! cp /bootsect.knx /floppy

    (17) Take the floppy out. Reboot into Windows.

    (1 Copy your bootsect.knx into C:\.

    (19) Start a MS-DOS prompt. Type in the following: (each newline = new command)

    c:
    cd \
    attrib -h -r -s boot.ini
    copy boot.ini boot.old
    notepad boot.ini


    (20) Notepad will start, with Boot.ini loaded. Edit the first line, 'Timeout=30'. Change it to 'Timeout=5'. This changes your boot selection timeout to 5 seconds, instead of 30.

    (21) At the very end of the file, add C:\bootsect.knx = "Knoppix"

    (22) Save the file. Get back to that command prompt. Issue attrib +h +r +s boot.ini.

    (23) Reboot. Now, you should have two options: your previous Windows OS and Knoppix. Done!

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    An alternative method :

    1. go to here http://www.skyjammer.com/files/knoppix

    2. get the w32grub.zip and unzip it to c:\, it is already a directory tree

    3. run c:\boot\grub\w32grub

    4. add 'c:\boot\stage1="GRUB"' to c:\boot.ini

    Now there is a GRUB boot loader in your W2K/XP system.

    Install your KNOPPIX as usual but don't let it touch your boot loader.

    in c:\boot\grub\menu.lst add the following(just an example)

    title KNOPPIX
    root (hd0,2)
    kernel /boot/vmlinuz
    initrd /boot/initrd

    and you can boot load your KNOPPIX. For detail about GRUB, read the manual on their main site.

    If you want poorman's install(FAT only), follow the instruction in the doc on this site on how to extract the big file as well as the boot.img from the ISO and follow the followin procedure

    1. get memdisk from syslinux site and put in c:\boot
    2. put the boot.img(from the ISO) to c:\boot
    2. add the following to c:\boot\grub\menu.lst

    title Poor man's KNOPPIX
    root (hd0,1)
    kernel /boot/memdisk
    initrd /boot/boot.img

    Now you can boot a poorman's KNOPPIX, this is the same as making the floppy image from the ISO, it just don' need a physical floppy for the purpose. Kudo to the authors of the programs mentioned.

    The only caveat is that one needs an ISO extraction tool to get the big file in the download image. I am not sure if knoppix-customize(it can get the boot.img without problem) can do this, otherwise a commerical software(there is some shareware or limited ware like magiciso) is needed. So this is still a 'poorman's installation', not a broken man's installation(doing all these from completely free as lunch tools).

  3. #3
    Junior Member registered user
    Join Date
    Jul 2003
    Location
    Australia
    Posts
    18
    I am very happy with the Graphical Boot Manager - GAG http://gag.sourceforge.net. Have a look at these screenshoots:
    http://gag.sourceforge.net/pics.html .

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    It may be good looking but I would choose NOT to use it. Chances are, if you install it to a harddisk, it will intefere with NT boot loader. It use the 'no man's land' on track 0 for its storage shich unfortunately NT boot loader also use.

  5. #5
    Member registered user
    Join Date
    Nov 2002
    Posts
    79
    Quote Originally Posted by garyng
    It may be good looking but I would choose NOT to use it. Chances are, if you install it to a harddisk, it will intefere with NT boot loader. It use the 'no man's land' on track 0 for its storage shich unfortunately NT boot loader also use.
    I've used it for years and it doesn't affect the NT bootloader.
    Other advantages are ... you can run it off a floppy or install it to the MBR.
    Password protect configuration and operating systems selection etc.

    Plus it takes a few seconds to restore if some Mi$behaving OS wipes it off

    cheers
    rob

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    thanks for the information, it is good to hear that it doesn't. I have tried another one call Smart Boot Manager which does similar things as GAG(at least from the description) but it gives me very bad experience.

    Anyway, the essence of linux and the open source is about choice. So long we have something to meet our needs, we are all happy. For me, GRUB is the one that meet my need

  7. #7
    Member registered user
    Join Date
    Jun 2003
    Posts
    32
    nice to see all the suggestions....


    My original goal was a simple dual-booting process while keeping the NT bootloader intact. As far as I'm concerned, the NT bootloader is a fine bootloader, and should be left there...

  8. #8
    Junior Member
    Join Date
    Aug 2003
    Location
    wa in the usa
    Posts
    1
    i followed your tutorial and got all the way to booting with the floppy when it says boot failed insert other disk and press a key. or something like that. am i missing something? <___noob

  9. #9
    Member registered user
    Join Date
    Jun 2003
    Posts
    32
    Oh my, oh my.... Seems like I typed too quickly.... Mistake here.


    dd if=/dev/fd0 of=/bootsect.knx bs=512 count=1

    should be

    dd if=/dev/hdx# of=/bootsect.knx bs=512 count=1

    where hdx# is your Knoppix boot partition.

  10. #10
    Senior Member registered user
    Join Date
    Jul 2003
    Posts
    692
    Thanks for the idea!

    Worked for me with Mandrake also. Unfortunately, the installation program didn't ask me which disk to boot from, and I erroneously assumed that since I was installing to the second drive that it would insert the boot loader on that drive also. Wrong. I caught it later before finishing the install, but not before it screwed up the MBR on C: Anyway, I changed the boot order in BIOS, so all works OK now, and I just have to fix the C: drive boot partition in case I ever remove the second HD.

Page 1 of 9 123 ... LastLast

Similar Threads

  1. Indepth dual boot, 2hd's, windows(1) knoppix(2) help
    By mkyb14 in forum Hdd Install / Debian / Apt
    Replies: 19
    Last Post: 12-08-2004, 06:06 PM
  2. Windows 98 and Knoppix(debian) Dual-Boot
    By ishtvan22 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 09-25-2004, 04:11 AM
  3. Dual Boot Knoppix and Windows(Dual Boot)?
    By jimbo62 in forum MS Windows & New to Linux
    Replies: 4
    Last Post: 08-09-2004, 04:22 PM
  4. Using Windows 2000 boot manager?
    By Termina in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 01-09-2004, 08:15 AM
  5. HOWTO: Poor Man's Dual Boot PC!
    By A. Jorge Garcia in forum General Support
    Replies: 18
    Last Post: 10-02-2003, 09:41 PM

Posting Permissions

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


Cisco SG95-16 16-Port Gigabit Switch SG95-16-KR picture

Cisco SG95-16 16-Port Gigabit Switch SG95-16-KR

$47.00



Cisco SG110 8 Port Gigabit Ethernet Switch SG110D-08-BR picture

Cisco SG110 8 Port Gigabit Ethernet Switch SG110D-08-BR

$39.00



Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24 picture

Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24

$117.00



Cisco MS120-48FP - 52 Ports Fully Managed Ethernet Switch UNCLAIMED picture

Cisco MS120-48FP - 52 Ports Fully Managed Ethernet Switch UNCLAIMED

$449.00



Linksys SE3008 8 Ports Rack Mountable Gigabit Ethernet Switch picture

Linksys SE3008 8 Ports Rack Mountable Gigabit Ethernet Switch

$18.99



New Linksys SE3005 5-port Gigabit Ethernet Switch picture

New Linksys SE3005 5-port Gigabit Ethernet Switch

$15.99



NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (GS305) - NEW IN BOX picture

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (GS305) - NEW IN BOX

$18.99



*NETGEAR PROSAFE (JGS524V2) 24-Port Gigabit Ethernet Switch *NO AC* picture

*NETGEAR PROSAFE (JGS524V2) 24-Port Gigabit Ethernet Switch *NO AC*

$29.99



Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED picture

Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED

$89.97



YuanLey 10 Port Gigabit PoE Switch With 8 Poe Unmanaged with 2 1000Mbps Uplink picture

YuanLey 10 Port Gigabit PoE Switch With 8 Poe Unmanaged with 2 1000Mbps Uplink

$20.00