Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-13-2006, 08:21 AM   #1
LQ Newbie
Registered: Feb 2006
Distribution: Suse 10
Posts: 20

Rep: Reputation: 0
Need help creating a dual boot with Suse 10 and win XP

I started off with Windows XP, and then I installed linux onto a seperate hard drive. Linux is on disk 1, windows on disk2. I have no idea how to get back into windows now. this is my system

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda8 25430064 2528864 22901200 10% /
tmpfs 257172 0 257172 0% /dev/shm
/dev/hda1 15351128 8 15351120 1% /windows/C
/dev/hda5 54169748 48 54169700 1% /windows/D
/dev/hda6 51199120 39062364 12136756 77% /windows/E
/dev/sda5 152464848 113278700 39186148 75% /windows/G
/dev/sda6 77272616 25665132 51607484 34% /windows/H
/dev/sda7 15366140 11947088 3419052 78% /windows/I

hda is the drive with linux, sda is the drive with windows. sda7 is the partition with windows. can anyone help?

i cant even work out how to copy the boot record so that i can run fixmbr in windows recovery console and do it that way.
Old 02-13-2006, 08:39 AM   #2
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 38
You can do it in grub (recommended)
Post the result of these commands (run as root):
cat /boot/grub/menu.lst
fdisk -l
OR you can try it through windows (did not work for me), Quoting from:
as root:
linux:/home/user # dd if=/dev/hdb4 of=bootsect.lnx cbs=512 count=1
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.009368 seconds, 54.7 kB/s

chown user bootsect.lnx
To complete the transplant, place the file you created with dd or Bootpart on the Windows drive as C:\bootsect.lnx.

Now it's time to tell Windows about Linux. Again, there are two ways to go about this.
If you are doing everything manually,
fire up a text editor in Windows and edit the file c:\boot.ini. Add the line c:\bootsect.lnx="Linux" to the end of the file.
Old 02-13-2006, 07:25 PM   #3
LQ Newbie
Registered: Feb 2006
Distribution: Suse 10
Posts: 20

Original Poster
Rep: Reputation: 0
thanks. i tried the dd command but it never works. i keep getting the same message
dd if=dev/hdb4 of=bootsect.lnx cbs=512 count=1
dd: opening `dev/hdb4': No such file or directory

i dont know what im supposed to put it place of dev/hdb4


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 9.3 w/win 98 dual boot - how to upgrade 98 to XP? sasilverbullet General 2 12-24-2005 12:35 PM
Dual Boot Win xp & Suse 9.2 Pro lankan Linux - Newbie 9 11-26-2004 04:40 PM
Win XP, SuSE Dual Boot Blunder Sandfury Linux - Newbie 24 09-17-2004 09:43 PM
Suse 9.0 dual boot WIN XP hotone10524 Linux - Newbie 3 03-04-2004 09:22 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration