LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-21-2002, 02:30 AM   #1
CroTeam
LQ Newbie
 
Registered: Jul 2002
Location: Canada - The nicest igloo you ever havn't seen
Distribution: Mandrake for now (newbie no?)
Posts: 23

Rep: Reputation: 15
Exclamation Dual Booting


I use win2k and mandrake 8.2. I've read several good sites on how to dual boot specifically, but I havn't got it to work. Lets get down to it. I already have win2k installed on my 80gig, and I install mandrake on the 40giger. What I am trying to do is more or less like this. The problem is when after I install linux and even if I skip LILO installation, and just reboot after installation is complete. I can't get back into windows, the error message would be 'Error loading operating system', when win2k should be starting to boot. The mbr hasn't been changed (no bootloader installed) so why does this happen. The last time I tried to do set it up. After I installed linux with or without a bootloader (as long as it wasn't written to /dev/hda [win2k hdd/mbr]) then plugged in one drive at a time as master they both booted properly. There has to be another way besides Bootmagic.

Last edited by CroTeam; 07-21-2002 at 02:32 AM.
 
Old 07-21-2002, 02:32 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Easiest way is to install lilo to the MBR...
 
Old 07-21-2002, 02:33 AM   #3
CroTeam
LQ Newbie
 
Registered: Jul 2002
Location: Canada - The nicest igloo you ever havn't seen
Distribution: Mandrake for now (newbie no?)
Posts: 23

Original Poster
Rep: Reputation: 15
LILO doesn't boot to NTFS?
 
Old 07-21-2002, 02:37 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Sure it does
 
Old 07-21-2002, 02:40 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Make an entry in lilo like this:

other = /dev/hda1
label = w2k
table = /dev/hda

And run lilo after

This assumes w2k is on your primary, master hard drive.

And, yes, install it in your MBR

Last edited by MasterC; 07-21-2002 at 02:42 AM.
 
Old 07-21-2002, 02:44 AM   #6
CroTeam
LQ Newbie
 
Registered: Jul 2002
Location: Canada - The nicest igloo you ever havn't seen
Distribution: Mandrake for now (newbie no?)
Posts: 23

Original Poster
Rep: Reputation: 15
Thumbs up

You've got the config right. Just in case, whats an easy way to backup/restore the mbr?

Also, while I'm on the topic is there any way for linux to access NTFS... wait a minute... http://linux-ntfs.sourceforge.net/. Cool.

Last edited by trickykid; 07-21-2002 at 11:03 AM.
 
Old 07-21-2002, 02:48 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Yes, and mandy does it by default, so don't even worry about that site.

backup the MBR, I have no idea.
 
Old 07-21-2002, 02:51 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Mandy will probably make the entry for you, but if it doesn't then make the entry in your fstab:

/dev/hda1 /mnt/windows ntfs defaults 0 0


with that you will be able to read it, but not write. Writing to NTFS is not a good idea yet. If this will be a problem, you may want to set up a second partition on winbloze in fat32. That way both os's can read/write to it. You can use several partitioning programs to do that, just to a search on here for partitioning and you should get some good results.

Oh and the above fstab assumes you have created the directory: /mnt/windows

If not open a term and type:
mkdir /mnt/windows
 
Old 07-21-2002, 02:52 AM   #9
CroTeam
LQ Newbie
 
Registered: Jul 2002
Location: Canada - The nicest igloo you ever havn't seen
Distribution: Mandrake for now (newbie no?)
Posts: 23

Original Poster
Rep: Reputation: 15
Thumbs up

Right now I'm looking at http://www.partition-recovery.com/products.htm for mbr backup/recovery. "Active@ Partition Recovery ... can backup and restore Master Boot Record (MBR), Partition Table, Boot Sectors."

Thanks a ton MasterC. I can't see very much any more so its too late/early to start working on it now, but after I wake up, I'll be back. Once again, thanks.

Last edited by CroTeam; 07-21-2002 at 02:54 AM.
 
Old 07-21-2002, 02:54 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
No problem, anytime.
 
Old 07-21-2002, 02:56 AM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Quote:
Originally posted by CroTeam
Right now I'm looking at http://www.partition-recovery.com/products.htm for mbr backup/recovery. "Active@ Partition Recovery ... can backup and restore Master Boot Record (MBR), Partition Table, Boot Sectors."

Thanks a ton MasterC. I can't see very much any more so its too late/early to start working on it now, but after I wake up, I'll be back. Once again, thanks.
Well, I wouldn't worry too much about that, if it's gets dorked up some how (not sure how it would) you can put your Mandy CD in and instead of pressing "enter" or F1, type "rescue". This will go into a rescue mode, and you have several options. 1 is to restore Winbloze to the MBR, another is to reinstall lilo to the MBR, so you should be ok using that.
 
Old 07-21-2002, 05:56 AM   #12
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
lilo normally makes a copy of the sector where it's installed. It puts it in the /boot directory and gives it a name like this: boot.xxx. The x's are a number that is the major and minor number of the device that the copy is made from. To restore the sector, run /sbin/lilo -u.

Last edited by linuxcool; 07-21-2002 at 05:58 AM.
 
Old 07-21-2002, 06:06 AM   #13
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
I think dd if=/dev/hda of=/dev/fd0 bs=512 count=1 will get it in floppy.
(Assumed /dev/hda is the place where you installed lilo. Also you can chnage /dev/fd0 to any file you like ).
--Sarin
 
Old 07-21-2002, 06:26 AM   #14
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
sarin, that will copy the mbr of /dev/hda to the boot sector of /dev/fd0.

Mount the floppy first, mount -t vfat /dev/fd0 /mnt/floppy. Then use
dd if=/dev/hda of=/mnt/floppy/bootsect.lnx bs=512 count=1. Next, umount /mnt/floppy and you're done.
 
Old 07-21-2002, 06:55 AM   #15
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
Thanks,But I knew that. Thats why I said it could be any other files as well. I do this since it is easier to rescue.
1. Put redhat rescue cd
2. Go to rescue.
3. put floppy.
4. dd if=/dev/fd0 of=/dev/hda bs=512 count=1
done! Nothing to worry about mount and all!
--Sarin
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Booting SuSE 9.2 & XP Pro/dual hard drives The_Bug Linux - General 3 01-04-2006 05:44 PM
dual booting with 2 hd longbow99 Linux - Newbie 14 11-20-2004 01:47 AM
Dual dual booting with Suse 9.1 pro and windows 98SE UDflyer Linux - General 1 07-30-2004 02:37 PM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 09:05 AM
booting ,dual booting kmadhukar Linux - Newbie 1 02-02-2002 09:32 PM

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

All times are GMT -5. The time now is 12:38 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