LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-25-2004, 07:29 AM   #1
dmoc
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
Partition Migration


As part of my (slow) migration I have the following disks/ partitions...

hda: Linux (only)
hdb: cdrom
hdc1: w2k
hdc2: w98 (see below)
hdd: w98

hdc2 is a copy of hdd using file explorer from w2k (this seemed the safest way to do it). GRUB is already set up to offer booting from hda, hdc1 and hdd. What I now want to do is to boot w98 from hdc2 instead of hdd (so I free up hdd completely). I realise that hdc2 is now missing the mbr for win98 but what can I do (preferably without losing w2k)? Reinstalling win98 is not a practical option.
 
Old 08-25-2004, 04:52 PM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
The GRUB syntax is simple (once you get the hang of it)

Include for windows:

title: windows 98
(hd2,1) chainloader+1 rootnoverify

and that should do it.

(GRUB counts hdds and partitions starting from 0 -> hda=hd0; hdb2=hd1,1)
 
Old 08-26-2004, 02:01 AM   #3
dmoc
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks linmix but atm my GRUB entry for the migrated partition is...

title w98-2
map (hd1) (hd0)
map (hd0) (hd1)
rootnoverify (hd1,1)
makeactive
chainloader +1

...and using (hd2,1) would point to the original drive. Further to posting I'm wondering if I could get away with dd'ing the boot sector from the original drive to the new partition without screwing things up. Anyone got any thoughts on this?
 
Old 08-26-2004, 04:03 AM   #4
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
in grub hda=hd0, hdb=hd1, hdc=hd2 and hdd=hd3

I don't know about the map entry though. Never used it.
 
  


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
Migration osiris69 Linux - General 4 03-27-2005 08:41 PM
Migration of NIS+ from 2.6 to 2.8 ]un]ie Solaris / OpenSolaris 2 03-04-2005 11:15 PM
Migration digimak Slackware 2 10-06-2003 12:48 PM
The migration has begun jeremy LQ Suggestions & Feedback 20 11-07-2002 08:12 AM
System migration juno Linux - General 3 10-23-2002 01:11 AM

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

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