LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-16-2003, 09:23 AM   #1
NewToit
LQ Newbie
 
Registered: Jan 2003
Distribution: SuSE 8.1
Posts: 2

Rep: Reputation: 0
Dual boot with NTFS partitions


Hi...

I am really new to linux. So if this is a common, or an "unlearned" question please forgive me.

I have two hard drives...

On my first drive.

1st Partition: NTFS - Windows NT 4.0 SP6
2nd Partition: NTFS - Program Files

Second Hard Drive

1st Partition NTFS - Windows NT 4.0 Backup copy
2nd Partition: NTFS - Data files
3rd Partition: FAT - 16MB Linux boot partition
5th Partition: ?Resizer? - Linux root
6th Partition: Swap - Linux swap

Now, I would like to boot to linux from the WinNT boot loader. So I did this:

1.) Boot to linux from floppy.
2.) Insert new floppy disk.
3.) Type the following on console.

mount /dev/fd0 /media/floppy
dd if=/dev/hdb3 of=/media/floppy/bootsek.lin bs=512 count=1

4.) Then boot back to NT, copy bootsek.lin to C:\
5.) Modify boot.ini so that it now looks like this:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation Version 4.00"
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation Version 4.00 [VGA mode]" /basevideo /sos
multi(0)disk(0)rdisk(1)partition(1)\WINNTBAK="Windows NT Workstation Version 4.00 Backup"
multi(0)disk(0)rdisk(1)partition(1)\WINNTBAK="Windows NT Workstation Version 4.00 Backup [VGA mode]" /basevideo /sos
C:\bootsek.lin="SuSE Linux 8.1"

When I choose "SuSE Linux 8.1" from the boot loader options I get this:

Disk Error
Press any key to restart.

What am I doing wrong? Do you know what I am missing?

Thank you!

NewToit
 
Old 01-16-2003, 01:30 PM   #2
deadbug
Member
 
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355

Rep: Reputation: 30
It seems like everything I try to do this I guess wrong about where to grab the boot image from. I'll grab it from /boot and Mandrake puts it in /; I'll grab / and Red Hat put it in /boot the first time, but next time when I grabbed /boot from Red Hat, it pulled a Mandy on me! It is a conspiracy!

Anyway, try replacing hdb3 with hdb5 and repeat 1-4. This will replace the image you have and should do the trick (there's only two place they can hide what you need!).
 
Old 01-16-2003, 01:43 PM   #3
NewToit
LQ Newbie
 
Registered: Jan 2003
Distribution: SuSE 8.1
Posts: 2

Original Poster
Rep: Reputation: 0
Hi deadbug,

I was just coming back to say I solved my problem... but thanks for your reply! There may have been an easier way, but it now works like a charm which I guess is all that matters.

I ended up reinstalling GRUB (with the help of this http://tng.private.dk/how_grub.htm). Then I went back and did what I was doing in my first post. This got me to the point of where I could boot to the GRUB command line. I then used the install comand to load the config file, and it works great!

Thanks... now I've got to get back working on my VB program

NewToit

Last edited by NewToit; 01-16-2003 at 01:45 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Dual Boot Partitions fireemblem555 Linux - General 2 10-17-2005 06:16 AM
cloning both partitions, dual boot system, master boot record, logical volume manager saranga2000 Linux - Hardware 3 01-10-2005 11:04 AM
dual boot partitions gbkyle Linux - Newbie 2 09-15-2004 12:31 PM
Partitions for Dual Boot XP/Linux? brucewbrannan Linux - Newbie 2 05-12-2003 10:36 AM
Setting up Dual Boot Partitions rockin chair Linux - General 3 05-08-2002 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:26 AM.

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