Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 [2] 3 4 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Dual boot, Two Partitions....< Next Oldest | Next Newest >
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Mar. 28 2004,21:15 QUOTE

I don't want to make this sound too easy but....

If you use DSL version 0.6 or higher it has been a piece of cake!
The newer lilo recognizes WinNT/Win2K/WinXP using the dsl-hdinstall. Of course lilo lists Knopipx first but second on the list is Win(NT) . Both Windows and DSL boot fine by choosing at the lilo prompt screen.  I just tried this again after reading the above posts. I used DSL 0.6.1 and I have WinXP on hda1 and installed  DSL on hda2.

I didn't have to do a  thing!

Notes:
Do not attempt this with the older DSL 0.5.x versions as that version of lilo will ruin the mbr and you will have to repair it in order to boot up WinNT, Win2000, or WinXP.

Do not attempt this with frugal_install, as the embedded lilo is unaware of other OS as it is on the CD.

Disclaimer: YMMV!
For those still too nervous and/or a linux noob, I would approach this via a windows route instead of trying to learn so much linux right away.  Make an ERD (Emergency Repair Disk), Windows NT try RDISK, Win2K/XP try backup tool and choose emergency repair disk, also XP has a "repair install mode" Check you Micosoft fourms of what is appropriate for your version of Windows.
Back to top
Profile PM WEB 
lepingouin Offline





Group: Members
Posts: 5
Joined: Mar. 2004
Posted: Mar. 29 2004,16:09 QUOTE

Thaks for your reply!

i got the newest dsl, so i can install it without having to fear!
One thing: could somebody tell me if this dd comand is right?
id just like to know it!

best wishes and thanks a lot!

lepingouin

btw: i dont think everybody knows about the fact that lilo can now handle the ntldr...  :;):
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Mar. 29 2004,18:22 QUOTE

In order to use the dd command, you have to have linux running. If you are running from the liveCD, then I would suggest to save the mbr to a floppy.

First become root with sudo su

Then use disk dump (dd) with input file (if) /dev/hda and with output file (of) of /dev/fd0, so the command would be:

dd if=/dev/hda of=/dev/fd0 bs=512 count=1

Be sure that the floppy is not mounted. Note all the previous contents of the floppy will be wiped out, so use a scratch floppy, but a good one, don't want read/write errors.

Now go ahead with the hard drive installation of dsl version 0.6.x. Use dsl-hdinstall

Now your done. You will not need that flloppy. Then come back here and tell everyone how easy if was! ....  But just in case, if you do not see Windows in the lilo choice prompt then to restore the mbr:

Boot off the cdrom again. Get your mbr floppy and use this command to restore the mbr.

dd if=/dev/fd0 of=/dev/hda bs=512 count=1

I just tried this on my WinXP DSL dual boot machine. I didn't have to do it, but just wanted to test it.
Back to top
Profile PM WEB 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Mar. 29 2004,19:03 QUOTE

As I understand it, your dd command is correct.

Assuming that you are running with root or superuser authority (type 'sudo su' on a blank line in the command line window), it should work.

The dd command works as follows:

dd   is the command name

if=/dev/hda      is the FIRST IDE controlled device in your computer (Primary IDE Controller, Master drive) and is usually BUT NOT ALWAYS where your C:\ drive is found.  However, it is almost always where your boot sector is located.  CDROMs are usually found at /dev/hdc (Secondary IDE Controller, Master drive)

of=/boot/bootsector.ide       is the full path and file name of your backup of the MBR sector.

bs=512     means that you are transferring the data in 512 byte blocks. Byte-sized chunks :)

count=1    means that you are not backing up the entire device, just the first block, IE: the first 512 bytes.

The restore command syntax is the same thing, only the copy is in the reverse direction.

Good Luck.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Mar. 29 2004,20:49 QUOTE

One more thing about dd. It is very important to have the input file (if) and the output file (of) correct. Double check, no, triple check, before you hit enter. If not correct  you will destory the mbr!  That is why I was sugguesting the Microsoft ERD. Also you will not be able to write into /boot from the the liveCD. It is read-only and besides you will lose it upon re-boot. That is why I suggest the floppy. You need to have it on an external media.

But I want to hear that this was much to about nothing!
Back to top
Profile PM WEB 
21 replies since Mar. 20 2004,23:46 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 [2] 3 4 5 >/
reply to topic new topic new poll
Quick Reply: Dual boot

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code