sszilveszter
Group: Members
Posts: 7
Joined: Feb. 2005 |
|
Posted: Feb. 16 2005,14:04 |
|
HOWTO install Linux on a Laptop without any CD-rom or floppy driver under Windows?
1.After you download -a linux iso file http://distrowatch.com -winimage http://www.winimage.com/download.htm -grubinstall http://www.geocities.com/lode_leroy/grubinstall/ (choose "binary of the installer + the GRUB" (this is the newer one) or "you can also download the ZIP file from SourceForge")
2.make a directory: c:\boot
3.copy the files from grubinstall package to your c:\boot directory
4.run the console (Start menu>Run...>”command”) go to c:\boot (c:...>cd c:\boot) run grubinstall (c:\boot>grubinstall) (you will see: „C:\BOOT>grubinstall NTFS mount failed FAT mount succeeded stage1(10141352) version=3.2 boot_drive=0xff force_lba=0 stage2_address=0x8000 stage2_sector=10141352 stage2_segment=0x800 stage2(10141352+215) 214 sectors to load from sector 10141353 at 0x820 menu '(hd0,1)/boot/menu.lst' stage2 configured on (hd0,1).” or something like that.) (my windows is on the second partition (hd0,1)) this does not overwrite you MBR so you can do it easy
5.make a new file called „menu.lst” in c:\boot directory type this „timeout 30 default 0”
6.run your linux .iso file with winimage, (the most distros are running with syslinux from a Boot dir)
7.copy all dirs from .iso to c:\ (ctrl+A, Rightmousebutton and extract with folder) find your syslinux.cfg in your new dirs on c:\ (for example c:\boot\isolinux or c:\boot), you will see for example: „LABEL linux26 kernel linux26 APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off noscsi vga=0x317 splash=silent initrd=minirt26.gz nomce BOOT_IMAGE=beatrix”
8.add this 3 lines to your menu.lst with little differences: „title linux26 kernel (hd0,0)/my_linux_boot_dir/linux26 ramdisk_size=100000 init=/etc/init lang=us apm=power-off noscsi vga=0x317 splash=silent nomce BOOT_IMAGE=beatrix initrd (hd0,0)/my_linux_boot_dir/minirt26.gz” (change „my_linux_boot_dir” for example „boot/isolinux” or „boot” change LABEL>title, cut the „APPEND” and move the „initrd=minirt26.gz” from 2nd to the 3rd line and change it)
9.edit your c:\boot.ini add: „c:\my_linux_boot_dir\stage1=Linux OS” you may need to do ATTRIB -R -H -S C:\boot.ini to make the file visible and writable and ATTRIB +R +H +S C:\boot.ini to revert the attributes of the file
10.check the boot.ini once more, and reboot
If you want to uninstall, then just delete the C:\boot directory & linux files, and remove your entry from C:\boot.ini (No registry entries were used by using the tool.)
|