Tuesday, April 12, 2011

dual boot window7 - slackware 13.1


----- Mini HowTo dualboot Windows7 and slackware 13.1 -----
...::: Hand made with Love 5am :::...

I install linux [slack 13.1] on my laptop Dell Vostro 3300 without reinstall windows7,
but create a rescue image of OS and rescue hide partition [the boot partion of w7].
The trouble is the configuration of primary partition 'cause Dell use 3 primary partion,
a] Dell RESCUE
b] RESCUE [\: w7 boot]
c] OS W7 [C:\]
and you don't have enought for install FreeSF!

1] Install Ghost Norton, I use this, or what you want for create a backups of entire drive, with only one recovery point, exactly one for the RESCUE PARTITION [:\* with flag BOOT]
and one for OS PARTITION [C:\*]; create the recovery cd, boot from this and verify that every thinks goes right to try restore the partion. When you create the image on your USB storage remeber to uncheck Related Drives flag on the option of backups, you need two primary partion NTFS the hided is bootable.

2] Format the harddisk as you like, but get in touch the RESCUE PARTION is 12,7 G
and must be the first partion because windows 7 boot from this! Remeber linux need minimum 2 primary partion one for Linux [OS] and one for swap.

3] Recovery the backpus from your usb storage.

4] Install your distribution of heart, I use slackware 13.1!
At the and of setup create you lilo conf file and put the loader on root partion [e.s. /dev/sda3].
After setup, boot from cd/dvd and mount the linux partition for check that every thinks goes
right, if you recive a Kernel Panic reinstall the OS.

5] Now you are ready for create your linux.mgr [linux.bin] the executable file for boot linux.
Login with root, digit:
dd if=/dev/sda3 of=linux.bin bs=512 count=1
add the executable permission of file! dd create an image like a masterboot record of linux partion, the bs option [block size] read and write the dimesion on block and the count is the number of the block. Save the file on usb storage.

6] Install in your windows 7 the tool EasyBCD 2.2. This software rewrite the old boot.ini, not
present on w7 and educate the w7 to find other OS in our case Linux.
You can choose two options of loader for linux, grub or lilo, personally I use lilo, easy and fast!
First, Add a new entry put a name [label] for your linux partion, choose the type of OS [Linux/BSD], insert the right partion and loader [lilo or grub]. IMPORTANT when choose the option Lilo/eLilo, EasyBDC create nowhere a file whit naming as a esadecimal key dot mgr [e.s. \NST\.....................mgr], rename your linux.bin, for example, whit the name given by EasyBCD, and put on C:\Window\System32, Save and exit. Reboot w7, and choose the OS from list!

3njoy the FreeSoftware!


0 Comments:

Post a Comment

<< Home