Difference between revisions of "Win Partition"


From Knoppix Documentation Wiki
Jump to: navigation, search
m (Steps:: Knoppix 4.0 update)
m
 
(26 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 +
__TOC__
 +
 
=== Windows Partition PMI ===
 
=== Windows Partition PMI ===
  
Line 5: Line 7:
 
''This how-to was originally written by J. Drake to synthesize [http://www.knoppix.net/forum/viewtopic.php?p=52847#52847  this thread] and make it simpler for new users to follow.''
 
''This how-to was originally written by J. Drake to synthesize [http://www.knoppix.net/forum/viewtopic.php?p=52847#52847  this thread] and make it simpler for new users to follow.''
  
This version of a poor man's installation goes beyond the basics, and utilizes the GRUB bootloader to install Knoppix from a Windows partition (including NTFS).  The advantages of this version over the [[Basic Poor Mans]] PMI are as follows:
+
This version of a poor man's installation goes beyond the basics, and utilizes the GRUB bootloader to install Knoppix from a Windows partition (including NTFS).  The advantages of this version are as follows:
  
 
* 1.  No CD, USB, diskette, or any other device are required to boot.  You can choose to boot either Windows or Linux from a simple boot menu.
 
* 1.  No CD, USB, diskette, or any other device are required to boot.  You can choose to boot either Windows or Linux from a simple boot menu.
Line 15: Line 17:
 
* 4.  No partitioning is needed to run HD based Linux off of the typical single-partition factory-built computer, unless the user wants to save data to the hard disk.  New users who don't wish to partition their drives can save data on a separate disk or USB drive, while those desiring the enhanced function of a persistent home can create as few as one additional non-NTFS partition.  Plus, users willing to experiment with Captive NTFS might potentially experiment with persistent homes in their NTFS partitions (not me).
 
* 4.  No partitioning is needed to run HD based Linux off of the typical single-partition factory-built computer, unless the user wants to save data to the hard disk.  New users who don't wish to partition their drives can save data on a separate disk or USB drive, while those desiring the enhanced function of a persistent home can create as few as one additional non-NTFS partition.  Plus, users willing to experiment with Captive NTFS might potentially experiment with persistent homes in their NTFS partitions (not me).
  
Be sure to read and understand the introductory information on the WIKI page [[Poor Mans Install]].
+
Note: If you have ever tried any other kind of installation as described in [[Completely_new_HD_based_HowTo_page]], please remove or rename the KNOPPIX directory on harddisk.
 
+
Note: If you have ever tried any other kind of [[Poor Mans Install]] as described in [[Hd Based HowTo]], please remove or rename the KNOPPIX directory on harddisk.
+
  
 
==== Steps: ====
 
==== Steps: ====
  
* 1.  Within Windows, download [http://s119307663.onlinehome.us/grube.zip Ruymbeke's knoppix 3.6,3.7,3.81] (and the [http://s119307663.onlinehome.us/Knoppix382.zip 3.82,3.9 addon] [http://s119307663.onlinehome.us/kno40.zip 4.0] files), and extract them to a folder on the Windows desktop.
+
* 1.  Within Windows, download [http://s94002264.onlinehome.us/grub/grube.zip Patched GRUB & Ruymbeke's knoppix 3.6,3.7,3.81] (and the [http://s94002264.onlinehome.us/grub/Knoppix382.zip 3.82,3.9], [http://s94002264.onlinehome.us/grub/kno40.zip 4.0-LinuxTag-DVD], [http://s94002264.onlinehome.us/grub/kno401.zip 4.01-Official-Release & Game-Knoppix-DVD-402], [http://s94002264.onlinehome.us/grub/kno402.zip 4.02-CD&DVD-2005-09-23], [http://s94002264.onlinehome.us/grub/kno500.zip 5.0 CEBIT edition], [http://s94002264.onlinehome.us/grub/minirt_usb6.gz 5.01-CD/DVD],[http://s94002264.onlinehome.us/grub/kno510.zip 5.1.0-CD/DVD] addon files), and extract them to a folder on the Windows desktop.
  
* 2.  Copy the files and folders from the "Root''Of''NTFS" folder into the root of your C: drive, ''except for boot.ini''.  Use boot.ini from the zip as a template for modifying your boot.ini.
+
* 2.  Copy the files and folders from the "Root_Of_NTFS" folder into the root of your C: drive, ''except for boot.ini''.  Use boot.ini from the zip as a template for modifying your boot.ini.
  
 
* 3.  While you're in the root of your C: drive, find the boot.ini file and copy it to boot.old, then open boot.ini with notepad.  At the end of the file, add the following line:  c:\grldr="Start Grub" . . . or whatever title you want to put in the quotes.  Check to make sure that the timeout gives you enough time (in seconds) to make a choice.  You can refer to the boot.ini in the zip as an example.  Save as Boot.ini and exit.
 
* 3.  While you're in the root of your C: drive, find the boot.ini file and copy it to boot.old, then open boot.ini with notepad.  At the end of the file, add the following line:  c:\grldr="Start Grub" . . . or whatever title you want to put in the quotes.  Check to make sure that the timeout gives you enough time (in seconds) to make a choice.  You can refer to the boot.ini in the zip as an example.  Save as Boot.ini and exit.
 
Notes:
 
Notes:
-With Win2000 computers you may add an alternate boot option in the boot.ini file: c:\bootgrub="Start Grub (old method)"
+
-With Win2000 computers you may add an alternate boot option in the boot.ini file: C:\bootgrub="Start Grub (old method)"
-To work with Windows 9x copy GRUB.EXE from "Root''Of''NTFS" folder to C:\ then edit your CONFIG.SYS file adding the line ''SHELL=GRUB.EXE''. You can use config.sys ''[menu]'' to select booting from grub or windows:
+
-To work with Windows 9x copy GRUB.EXE from "Root_Of_NTFS" folder to C:\ then edit your CONFIG.SYS file adding the line ''SHELL=GRUB.EXE''. You can use config.sys ''[menu]'' to select booting from grub or windows:
  
* 4.  Find the ISO file you originally downloaded, and copy it to the c:\boot\knoppix.381 folder.
+
* 4.  Find the ISO file you originally downloaded, and copy it to the C:\boot\knoppix.381 folder.
  
* 5.  Now, open Notepad, and load the file C:/BOOT/GRUB/menu.lst.  Check to make sure that each step matches your HD configuration.  Exammine the boot stanzas and add any cheatcodes for persistent home, saved configuration, or whatever you may use.  Up at the top, I would recommend changing the timeout from 5 seconds to 15.  Save and exit.
+
* 5.  Now, open Notepad, and load the file C:\BOOT\GRUB\menu.lst.  Check to make sure that each step matches your HD configuration.  Exammine the boot stanzas and add any cheatcodes for persistent home, saved configuration, or whatever you may use.  Up at the top, I would recommend changing the timeout from 5 seconds to 15.  Save and exit.
  
 
* 6.  Restart, and wait for a menu prompt which gives you a choice between Windows and Start Grub.  Cursor down to Start Grub and enter.  Then choose among the options in the same manner.  You should be launching Knoppix now.
 
* 6.  Restart, and wait for a menu prompt which gives you a choice between Windows and Start Grub.  Cursor down to Start Grub and enter.  Then choose among the options in the same manner.  You should be launching Knoppix now.
Line 41: Line 41:
  
 
* 2.  If you're really new and haven't set up a persistent home yet or saved your configuration, you can set this up later, once you boot into Knoppix.  Just click the penguin icon on the toolbar and choose Configure, and follow the instructions to set up a persistent home.
 
* 2.  If you're really new and haven't set up a persistent home yet or saved your configuration, you can set this up later, once you boot into Knoppix.  Just click the penguin icon on the toolbar and choose Configure, and follow the instructions to set up a persistent home.
 
* 3. The easiest way to install programs is by using Klik. Open Konqueror (not Mozilla or any other browser), and type in the following URL: http://klik.atekon.de/ then follow the instructions to install Klik. You will see a number of programs available to you for automatic installation. If you don't see the one you want listed, you can try the following command klik://softwarename into the address block of Konqueror.
 

Latest revision as of 09:22, 4 January 2013

Windows Partition PMI

Much Credit here is due to the Japanese Knoppix Group for developing an NTFS compatible boot setup, to the various Grub patches authors, and to Ruymbeke for the easy setup and for the adaptation to the domestic versions of Knoppix on DOS/NT/XP machines.

This how-to was originally written by J. Drake to synthesize this thread and make it simpler for new users to follow.

This version of a poor man's installation goes beyond the basics, and utilizes the GRUB bootloader to install Knoppix from a Windows partition (including NTFS). The advantages of this version are as follows:

  • 1. No CD, USB, diskette, or any other device are required to boot. You can choose to boot either Windows or Linux from a simple boot menu.
  • 2. All setup and installation can be done from within Windows. No prior Linux experience is required to have the function and versatility of a Linux HD install. For new users especially, this option is very attractive.
  • 3. In many cases, upgrading is as simple as downloading a new release to the appropriate Windows folder.
  • 4. No partitioning is needed to run HD based Linux off of the typical single-partition factory-built computer, unless the user wants to save data to the hard disk. New users who don't wish to partition their drives can save data on a separate disk or USB drive, while those desiring the enhanced function of a persistent home can create as few as one additional non-NTFS partition. Plus, users willing to experiment with Captive NTFS might potentially experiment with persistent homes in their NTFS partitions (not me).

Note: If you have ever tried any other kind of installation as described in Completely_new_HD_based_HowTo_page, please remove or rename the KNOPPIX directory on harddisk.

Steps:

  • 2. Copy the files and folders from the "Root_Of_NTFS" folder into the root of your C: drive, except for boot.ini. Use boot.ini from the zip as a template for modifying your boot.ini.
  • 3. While you're in the root of your C: drive, find the boot.ini file and copy it to boot.old, then open boot.ini with notepad. At the end of the file, add the following line: c:\grldr="Start Grub" . . . or whatever title you want to put in the quotes. Check to make sure that the timeout gives you enough time (in seconds) to make a choice. You can refer to the boot.ini in the zip as an example. Save as Boot.ini and exit.

Notes: -With Win2000 computers you may add an alternate boot option in the boot.ini file: C:\bootgrub="Start Grub (old method)" -To work with Windows 9x copy GRUB.EXE from "Root_Of_NTFS" folder to C:\ then edit your CONFIG.SYS file adding the line SHELL=GRUB.EXE. You can use config.sys [menu] to select booting from grub or windows:

  • 4. Find the ISO file you originally downloaded, and copy it to the C:\boot\knoppix.381 folder.
  • 5. Now, open Notepad, and load the file C:\BOOT\GRUB\menu.lst. Check to make sure that each step matches your HD configuration. Exammine the boot stanzas and add any cheatcodes for persistent home, saved configuration, or whatever you may use. Up at the top, I would recommend changing the timeout from 5 seconds to 15. Save and exit.
  • 6. Restart, and wait for a menu prompt which gives you a choice between Windows and Start Grub. Cursor down to Start Grub and enter. Then choose among the options in the same manner. You should be launching Knoppix now.

Tweaks:

  • 1. Note that in GRUB, the first disk or first partition are numbered zero. So, if your C: drive is the first partition of your first disk the C: drive will be hd(0,0), and hdb3 would be hd(1,2). On newer stock HP Pavilions, C: is actually the second partition of the first drive (hda2), which equates to hd(0,1) in grubspeak.
  • 2. If you're really new and haven't set up a persistent home yet or saved your configuration, you can set this up later, once you boot into Knoppix. Just click the penguin icon on the toolbar and choose Configure, and follow the instructions to set up a persistent home.