View Poll Results: I found this HOWTO helpfull.

Voters
10. You may not vote on this poll
  • Yup, a whole lot!

    8 80.00%
  • Yup, a little.

    1 10.00%
  • Nope, don't quit your day job, pal....

    1 10.00%
Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: HOWTO: Poor Man's Dual Boot PC!

  1. #1
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256

    HOWTO: Poor Man's Dual Boot PC!

    In a previous posting, http://www.knoppix.net/forum/viewtopic.php?t=2021, I spoke about how to boot KNOPPIX without a CD or boot floppy by saving the the KNOPPIX compressed image file from a burned CD and the vmlinuz + miniboot.gz files from a rawritten boot floppy to M$ WINDOZE partition like hda1. This was only good on a machine that supports real DOS mode and VFAT = WIN95, WIN98 and sort of on WINME where you still needed to boot the rescue disk, ouch....

    However, I've found the following more convenient, especially when don't have the security to change such things on the WINDOZE PC you're using.... This works well on any PC that boots a floppy, even WINME. Also, you do not have to deal with the M$ WINDOSE desktop icons or a M$ DOZE batch file. In this method you use the boot floppy to find the KNOPPIX compressed image file on a partition, say hda1, instead of the CD and boot from there!

    Sorry, I think I need the following 2 disclaimers based on some weird replies I got on the above posting.

    Word of Warning #1: Use this HOWTO at your own risk. I take no responsibility for any problems you incure while experimenting with this HOWTO. I make no guarantees, neither explicit nor implied as to any application you may use this HOWTO for.

    Word of Warning #2: I have not tested this on any other partitions nor have I tested this on NTFS. So, if you want to experiment with those options, caveat emptor! Please note that this HOWTO is just "my 2 cents" and you get what you pay for....

    Step0:
    You still need to burn a KNOPPIX ISO to a CD and rawrite the corresponding boot IMG to a floppy.

    Step1:
    Boot your KNOPPIX CD normally.

    Step2:
    Mount hda1 = click the hda1 icon on the KNOPPIX desktop.

    Step3:
    Open a root shell = click the <K> kogwheel, then <KNOPPIX> and then <root shell>.

    Step4:
    Make hda1 read-write = issue the following command line in the root shell.
    mount -o remount,rw /mnt/hda1

    *or*
    Step4:
    Make hda1 read-write = right click the hda1 icon on the KNOPPIX desktop and then click <change read write mode>.

    Step5:
    Make a new directory on hda1 to hold the KNOPPIX file = issue the following command line in the root shell.
    mkdir /mnt/hda1/knoppix

    Step6:
    Copy the KNOPPIX file to the new directory = issue the following command line in the root shell.
    cp /mnt/cdrom/KNOPPIX/KNOPPIX /mnt/hda1/knoppix

    Step7:
    Wait 4-8 minutes, depending on how fast your CD drive is, for step6 to finish and shutdown KNOPPIX normally.

    Step8:
    Boot the PC with the boot floppy still in place, but without the CD. Now you won't need your CD ever again! The boot floppy is slow, which is not new unless you're used to booting with the CD only, but once the boot process switches to hda1 (not scd0 anymore), it goes faster than the CD.

    What's nice about this approach is that you don't need to repartition anything, it still boots like KNOPPIX with all the autodetection and its still read only (its the same everytime you boot it, noone can mess it up running from a ramdisk). You don't get that from knx-hdinstall! Also running apps off hda1 is faster than doing so off the CD (unless, unlike me, you have an incredibly fast CD drive). This also helps me in when I upgrade to a new release on KNOPPIX, I don't have to burn 25 CDs and rawrite 25 boot disks for all my students anymore. All I'll do is burn 1 CD, delete /mnt/hda1/knoppix/KNOPPIX, copy the new /mnt/cdrom/KNOPPIX/KNOPPIX there and rawrite 25 new boot disks. What a time saver!

    Enjoy!

    Regards,

  2. #2
    Junior Member
    Join Date
    Nov 2002
    Posts
    3
    I'm sorry for being stupid but I know nothing about Knoppix or indeed linux at all. Can you tell me what "rawrite the corrsponding boot IMG to a floppy" means and how I actually do it?
    Thank you for your patience!

  3. #3
    Member registered user
    Join Date
    Mar 2003
    Posts
    35
    actually, I have done this once on an XP computer, with no CD, and with no CD recorder availeble.
    liuckily, winRAR can handle ISO files, and it extracted exerything from it out to the hard drive.
    so I copied the compressed KNOPPIX file into c:\knoppix\ and used rawrite2.exe to rawrite the boot image to a boot floppy.

    you can do the same from linux by mounting the iso image (mount -o loop knoppix.iso /mnt/something/).
    also, if you want boot to take less time, you can make a new 2MB fat 16 partition, syslinux it, and copy the files from the boot image onto it (but not LDLINUX.SYS)
    mounting is done like - mount -o loop -t vfat boot.img /mnt/something
    then just add that partition to your LILO/GRUB menu, and - walla! a super-fast read-only knoppix!

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    Yes, SillyFly, you are most certainly correct!

    However, I'm writing this howto from the following vantage points.

    (1) Someone who doesn't have any linux tools available yet, ie: a M$ WINDOZE only environment. However, your WINRAR method is very interesting....

    *and*

    (2) Someone who doesn't want the standard lilo dual boot.

    Regards,

  5. #5
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    Quote Originally Posted by peterla
    Can you tell me what "rawrite the corrsponding boot IMG to a floppy" means and how I actually do it?
    Thank you for your patience!
    rawrite.exe is a DOS utility program to make boot floppies for people whose CDROM drive does not boot. If you can boot your KNOPPIX CD already you don't need rawrite. However, you will need the boot disk when you're done copying KNOPPIX to hda1. The idea is to use the boot floppy to boot the KNOPPIX image from hda1 so you don't need the CD anymore.

    OK, so if you can boot the CD without the boot floppy, you can make the boot floppy once you're booted-up in KNOPPIX. Open a shell and issue the following command line.

    dd if=/mnt/cdrom/KNOPPIX/boot-en.img of=/dev/fd0

    dd
    copies images of disks (its like burning ISOs on CDs)
    if
    is the input file
    of
    is the output file
    boot-en.img
    is the English language boot disk image
    /dev/fd0
    is the diskette drive

    Let me know if you need to use rawrite instead of dd.

    Good Luck!

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    >>
    Word of Warning #2: I have not tested this on any other partitions nor have I tested this on NTFS. So, if you want to experiment with those options, caveat emptor! Please note that this HOWTO is just "my 2 cents" and you get what you pay for....
    <<

    Remember the disclaimer? Well, here's an update.

    I just tried this process on WINXP PC with NTFS. OK, so KNOPPIX would mount hda1 but it wouldn't let me make it rw. So, I rebooted into WINXP and created a c:\KNOPPIX folder that way. Now I use the WIN98 boot disk (see faster boot floppy) and it doesn't frind c:, does this mean that the WIN98 boot floppy doesn't recognize NTFS? How do I make a boot floppy that does? I looked in WINXP and see nothing about making rescue disks....

    EDIT:
    BTW, the kernel boot disk can't find it either....

    TIA,

  7. #7
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    298
    Quote Originally Posted by A. Jorge Garcia
    Now I use the WIN98 boot disk (see faster boot floppy) and it doesn't frind c:, does this mean that the WIN98 boot floppy doesn't recognize NTFS?
    Yes, although "NTFS" was around when Win98 was there it isn't included in the OS (nor bootfloppies). But even if MS did include NTFS support back then, it wouldn't work, since WinNT4/XP/2000 all have slightly different NTFS filesystems.

    That's also why Linux is currently having trouble reading NTFS, too many new versions of the 'same' filesystem.

  8. #8
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    OK, I did all this with KNOPPIX V3.1 20030101. Now I need to come up with a new howto for upgrading to the lastest KNOPPIX! I just dowbloaded V3.2 20030516 and it looks great!

    Regards,

  9. #9
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    OK, here goes nothing:

    HOWTO: Upgrade Poor Man's Dual Boot

    Step(0):
    Download new ISO.
    Burn new CD (with Easy CD Creator or cdrecord) and create new boot floppy (with rawrite or dd). You do not need a new boot floppy if you can boot the new CD without it. If you need a boot floppy to boot the CD, make sure you make a new kernel based boot floppy using boot.img - do not use the DOSbootfloppy. However, I strongly recommend using the faster DOSbootfloppy when you reboot, Step(8), take a look at http://www.knoppix.net/forum/viewtop...?p=12042#12042

    Step(1):
    Boot new CD with or without boot floppy as needed

    Step(2):
    mount hda1 (simply left click desktop icon for hda1)
    make hda1 rw (simply right click desktop icon and click "change to rw..." and answer "yes" only if you have a VFAT hdd)

    Step(3):
    open a root shell (click the K cogwheel, click knoppix, click root shell)
    execute steps (4)-(7) in this root shell
    you could use an ordinary shell for these steps, except for step(5)

    Step(4):
    mkdir temp

    Step(5):
    mount /cdrom/KNOPPIX/boot.img temp -o loop

    Step(6):
    cp temp/vmlinuz /mnt/hda1/KNOPPIX
    cp temp/miniroot.gz /mnt/hda1/KNOPPIX

    Step(7):
    cp /cdrom/KNOPPIX/KNOPPIX /mnt/hda1/KNOPPIX

    Step(8)
    Now reboot with your choice of kernel boot disk or the faster DOSbootdisk.
    You don't need the CD anymore!

    NOTE: if you created your own boot disk, then you can skip step(5) and make Step(6)
    cp /mnt/floppy/vmlinuz /mnt/hda1/KNOPPIX
    cp /mnt/floppy/miniroot.gz /mnt/hda1/KNOPPIX
    as in the original installation

    QUESTION: In Step(5) I mount boot.img to extract vmlinuz and miniroot.gz without having the rawrite or dd. Can I do this with the ISO to extract /KNOPPIX/KNOPPIX without having to burn a new CD? If I were to mount the large KNOPPIX compressed image file this way, do I need lots of extra RAM?

    Enjoy!

  10. #10
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    OOPS, you can skip Step(4) mkdir temp in your home dir and use tmp which is already there....

    Regards,

Page 1 of 2 12 LastLast

Similar Threads

  1. Converting Poor Man's install to dual boot
    By gnarvaja in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 02-24-2005, 11:08 PM
  2. USB Thumbdrive/keychain NTFS ISO boot/Poor Man's Install
    By semreh in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 09-15-2004, 10:07 AM
  3. How To boot without CD after Poor Man's Install
    By prehis in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 09-15-2004, 04:44 AM
  4. 3.4/2.6.6 Poor Man's (to/fromhd) install; boot with USB?
    By j.drake in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 08-29-2004, 07:51 AM
  5. "Poor Man's Dual Boot" with KNOPPIX 3.4
    By pau1knopp in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 05-17-2004, 10:27 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
  •  


IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED picture

IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED

$99.99



IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD picture

IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD

$399.99



ibm server z series picture

ibm server z series

$16000.00



IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server  picture

IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server

$209.98



IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server picture

IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server

$191.99



IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES picture

IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES

$26.97



IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs picture

IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs

$58.52



IBM System x3500 m3 Server picture

IBM System x3500 m3 Server

$100.00



IBM Power S822 8284-22A 2.5

IBM Power S822 8284-22A 2.5" 12-Bay 64GB 2X 00ND478 2X 00E2865 *READ*

$599.99



1U IBM x3550 M5 4 Bay SFF SAS3 Server 2x E5-2683 V3 28 Core 128GB DDR4 2x Tray picture

1U IBM x3550 M5 4 Bay SFF SAS3 Server 2x E5-2683 V3 28 Core 128GB DDR4 2x Tray

$318.00