On Fri, 1 Oct 2004 08:51:21 -0400 Siddhartha Basu <[EMAIL PROTECTED]> wrote:
> I am interested in knowing your approach of doing net-install. Do > share with us. Files attached. Regards, -- K.Ghosh e88~~\ 888 / 888~~\ e88~~\ D L G. K. POWER SYSTEMS d888 888 / 888 | C88 U E I HYDERABAD 8888 __ 888 / 888__/ "88__ S B N 040 310 58 749 8888 | 888/\ 888 \ E I U [EMAIL PROTECTED] Y888 | 888 \ 888 C8 | S A X [EMAIL PROTECTED] "88__/ 888 \ 888 "88__/ N . Debian GNU/Linux user No.301508 "DSL_Install_on_NT.txt" Installing Damn Small Linux on NT Box without the help of CDROM/Floppy/USBkey etc. System specifications : P4 with 512MB RAM, 40GB HDD (10GB Primary partition with Windows XP preloaded, two 15GB Logical partitions), Networked and Net enabled, no floppy drive, no CDROM drive, no USB drives. The challenge : To install Damn Small Linux on the NT Box without the help of CDROM/Floppy/USBkey etc. and without disturbing the existing NT setup. Websites used : 1. http://marc.herbert.free.fr/linux/win2linstall.html 2. http://newdos.yginfo.net/grubdos.htm 3. http://www.winimage.com/bootpart.htm Method : Use Win-XP to create a small 150MB partition anywhere (say E:\) and format it as FAT32. Download the ISO image of the latest DSLinux from www.damnsmalllinux.org and extract the files using 'winiso' from www.winiso.com. Copy all into E:\. Copy the directory E:\isolinux to C:\boot. Following website(2), download GRUB for NT from "GRUB for DOS 0.2.0 pre12 New!" unzip it. Copy the file "grldr" and directory "boot" to c:\. Following website(1), remove the write protection and modify the file c:\BOOT.INI to add in the last line - c:\grldr="Start GRUB". Write protect it again. Modify the file C:\boot\grub\menu.lst to include before the section "title Mandrake Linux on (hd0,7)" - title My Linux installer of choice kernel (hd0,0)/boot/isolinux/linux24 initrd (hd0,0)/boot/isolinux/minirt24.gz exec ./boot/isolinux/isolinux.bin Reboot. Windows should now show choice to either start XP or start GRUB. Choose GRUB. GRUB will give many choices, choose "My Linux installer of choice". Damn Small Linux should boot up, but is not installed onto the HDD as yet. You can open up a root console and run cfdisk to create root and swap partitions to your liking. You can now proceed with Hard Disk installation, but be careful not to install LILO, since DSLinux will install LILO onto the MBR without giving you any choice. In case you have installed LILO into MBR by mistake, do a 'lilo -u /dev/hda' to recover the MBR. This step is required only incase you have overwritten MBR. Edit /etc/LILO.conf and change the line 'boot=/dev/hda' to 'boot=/dev/hdax' where hdax is your root partition. Run /sbin/lilo to install LILO in the root partition. Exit and reboot into windows. >From website(3), download bootpa25.zip. Unzip and copy file bootpart.exe into c:\boot. Open a command prompt window and cd to c:\boot. Run bootpart.exe and note the output. Note the number against the line saying "Linux Native". Let this number be x. Run bootpart again as - bootpart x bootlinx.bin DSLinux. This will create a file c:\boot\bootlinx.bin and put a patch in the file C:\BOOT.INI. Reboot and this time along with the Choice of Windows-XP and GRUB, there will be a third choice "DSLinux". Selecting this should bring up LILO. Enjoy !! "Deb_Install_on_NT.txt" Installing Debian Linux on NT Box without the help of CDROM/Floppy/USBkey etc. System specifications : P4 with 512MB RAM, 40GB HDD (10GB Primary partition with Windows XP preloaded, two 15GB Logical partitions), Networked and Net enabled, no floppy drive, no CDROM drive, no USB drives. The challenge : To install Debian Linux on the NT Box without the help of CDROM/Floppy/USBkey etc. and without disturbing the existing NT setup. Websites used : 1. http://marc.herbert.free.fr/linux/win2linstall.html 2. http://newdos.yginfo.net/grubdos.htm 3. http://www.winimage.com/bootpart.htm Method : Following website(2), download GRUB for NT from "GRUB for DOS 0.2.0 pre12 New!" unzip it. Copy the file "grldr" and directory "boot" to c:\. Following website(1), download the kernel binary "linux.bin" and the initrd image "root.bin" for debian woody (bf2.4) into c:\boot. Also download the files rescue.bin, basedebs.tar and drivers.tgz all for bf2.4. Remove the write protection and modify the file c:\BOOT.INI to add in the last line - c:\grldr="Start GRUB". Write protect it again. Modify the file C:\boot\grub\menu.lst to include before the section "title Mandrake Linux on (hd0,7)" - title My Linux installer of choice kernel (hd0,0)/boot/linux.bin bf2.4 initrd (hd0,0)/boot/root.bin Reboot. Windows should now show choice to either start XP or start GRUB. Choose GRUB. GRUB will give many choices, choose "My Linux installer of choice". The familiar Debian installer should come alive. Partition your HDD to your choice, but keep a small (150MB) partition as FAT16 and a 250MB partition as swap in addition to a big root partition. Note the drive letters of all the drives just created. Write your partition to the HDD and reboot to Winsows. Format the newly created FAT partition under windows as FAT and transfer the files rescue.bin, basedebs.tar and drivers.tgz to it. In my case the partitions were - c: = hda1 FAT = hda6 linux root = hda7 linux swap = hda8 Now reboot and select GRUB and then install linux. Debian should now format the swap and the root partitions and mount them. Then it will ask from where to load the Debian base system; this should be hda6. Debian should now happily load and finish by asking where to write the LILO. DO _NOT_ write THE LILO IN THE MBR; write IT ON THE ROOT PARTITION. Exit and reboot into windows. >From website(3), download bootpa25.zip. Unzip and copy file bootpart.exe into c:\boot. Open a command prompt window and cd to c:\boot. Run bootpart.exe and note the output. Note the number against the line saying "Linux Native". Let this number be x. Run bootpart again as - bootpart x bootlinx.bin Linux. This will create a file c:\boot\bootlinx.bin and put a patch in the file C:\BOOT.INI. Reboot and this time along with the Choice of Windows-XP and GRUB, there will be a third choice "Linux". Selecting this should bring up LILO. Enjoy !! -- To unsubscribe, send mail to [EMAIL PROTECTED] with the body "unsubscribe ilug-cal" and an empty subject line. FAQ: http://www.ilug-cal.org/node.php?id=3
