LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
LinkBack Search this Thread
Old 07-10-2005, 09:00 AM   #1
DavidTempler
Member
 
Registered: Apr 2003
Location: United Kingdom
Distribution: Ubuntu 6.06
Posts: 172

Rep: Reputation: 30
Moving Windows to new drive ?


Hi,

Run Linux on a master hard disc & want to update my other drive

I have windows 98se running on hard drive (2gb) and want to move it to a new drive...

Can I use linux to set up a fat16 partition & copy over 98se to new drive?

Has anyone done it & how ?

Dave T.
 
Old 07-10-2005, 09:21 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
Moved: What does moving Windows to a new drive have to do with Linux? Moved to General where Windows questions are more suitable.
 
Old 07-10-2005, 09:33 AM   #3
DavidTempler
Member
 
Registered: Apr 2003
Location: United Kingdom
Distribution: Ubuntu 6.06
Posts: 172

Original Poster
Rep: Reputation: 30
oops ... please forgive me for asking question on wrong forum

Dave T.
 
Old 07-10-2005, 09:07 PM   #4
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 45
not to worry, the linux-general forum is for question related to linux, but don't fit elsewhere. the general forum if for other topic unrelated to any linux/programming/unix. Don't worry about it, threads get moved all the time
 
Old 07-11-2005, 04:05 AM   #5
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
hard to say, windows 98 needs to be on the first primary partition. You can make the partition and copy the files over, whether or not 98 will work after is another question

Make your 2GB partition on your new hdd. Make it exactly the same size as the old then you should be able to use dd to copy the old partition to the new. Then write a lilo configuration file to boot that partition and use
Code:
lilo -C /new/configfile
to install it.
I think I'm right in saying that lilo doesn't need that configuration file once it has been installed. Of course if your going to install linux on another partition on that hdd then you can let that distros install program take care of the bootloader. If your are going to run that hdd as slave or secondary master then you can edit your normal bootloaders config file to boot 98 on the second hdd.

I haven't tried this, its just a theoretical solution. Back up ALL important data before starting

Last edited by phil.d.g; 07-11-2005 at 04:07 AM.
 
Old 07-11-2005, 04:19 AM   #6
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 120Reputation: 120
Yes. Windows 98 requires to be on Primary Master and needs to be the first primary partition on that drive.

If you're merely looking to transfer data then there is no need to worry. But to make Windows boot, you need to be careful to copy the system files and settings.
 
Old 07-11-2005, 04:20 AM   #7
DavidTempler
Member
 
Registered: Apr 2003
Location: United Kingdom
Distribution: Ubuntu 6.06
Posts: 172

Original Poster
Rep: Reputation: 30
Hi,

Thanks for your reply....

The 2gb is slave & yes it does boot via lilo (off master) ... I can try it after all it will not harm 2gb drive I'm swapping them

Its just getting partition as you say the same type& size ....

I would not have even asked this question but my other half needs Windows for an online course

trying to install windows to second drive was a pain & 2gb drive swapped in & worked ;-)

Thanks again for your help

Dave T.
 
Old 07-11-2005, 04:48 AM   #8
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
Use Mandrakes partitioning tool to create your partition. once you create the partition, the same number of blocks as the original then format it fat16 then do
Code:
dd if=/dev/hdb1 of=/dev/hdc1
where /dev/hda1 is the location of the exisitng 2 GB partition and /dev/hdc1 is the location of the new partition. Use dd rather than cp or some windows utlity to make sure all file inc. hidden system ones are copied
 
Old 07-11-2005, 05:10 AM   #9
DavidTempler
Member
 
Registered: Apr 2003
Location: United Kingdom
Distribution: Ubuntu 6.06
Posts: 172

Original Poster
Rep: Reputation: 30
Hi phil.d.g

Yeah dd will copy everything ... fat16 would do the trick not afraid of cfdisk fdisk ... so thats not a problem

Wondering if I can create an image file of windows to my master drive ...then I could change over hard drive then after partiton & format of windows new home dd it back again ??

Dave T.

(guess the only way to find out is to do it lol)
 
Old 07-11-2005, 05:14 AM   #10
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
Code:
dd if=/dev/hdb1 of=/home/you/win98.img
But please back up all your important data, don't rely on that one image for saving your files on. or at least mount the image using the loopback option and check everything is allright, then back that image up before manipulating it.

By the way I use the same technique to backup my system partition, so if I seriously break linux, during a kernel upgrade or similar I can restore my system from that image
 
Old 07-11-2005, 05:24 AM   #11
DavidTempler
Member
 
Registered: Apr 2003
Location: United Kingdom
Distribution: Ubuntu 6.06
Posts: 172

Original Poster
Rep: Reputation: 30
Hi phil,

I'm more at ease using Linux than messing around with Windows lol.

Will have to think about the creation of .img to suit 2gb drive ... that way using dd might work without a problem,..

Of course data on 2gb drive will be safe so long as I get if & of right way round ;-)


Thanks again

Dave T.
 
Old 07-11-2005, 06:42 AM   #12
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
glad to be of help, when using dd remember to make the image file from the partition (/dev/hdX1) not the hdd (/dev/hdX) because you will be writing that file to a partition later on and not a whole HDD, I'm sure I didn't need to say this, but just wanted to make myself clear to avoid any misunderstandings.

My knowledge of the architecture and structure of HDDs is somewhat limited, you may have to format the partition fat16 before copying the image to have the necessary data written to the partition table at the front of the drive
 
Old 07-11-2005, 06:51 AM   #13
DavidTempler
Member
 
Registered: Apr 2003
Location: United Kingdom
Distribution: Ubuntu 6.06
Posts: 172

Original Poster
Rep: Reputation: 30
Hi phil,

I wil let you know how I get on ;-)

Dave T.
 
Old 07-11-2005, 08:31 AM   #14
stabile007
Member
 
Registered: Sep 2003
Location: Philadelphia, PA
Distribution: Ubuntu, Gentoo
Posts: 74

Rep: Reputation: 15
This may not help you but I found Acronis Disk Imager software to be a great tool when I needed to mirror people's drive. Its very straight foward and simple.
 
Old 07-11-2005, 08:56 AM   #15
amdrake
Member
 
Registered: Jun 2005
Location: Ohio
Distribution: Mandriva 2006
Posts: 75

Rep: Reputation: 15
Open /mnt/windows. Select all. Right click and choose "Move to Trash". That will put W98 where it needs to be.
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving files from NTFS drive to a EXT3 drive?? webshark Slackware 10 05-28-2006 03:02 PM
moving /home to a new drive? tardigrade Linux - Newbie 5 10-18-2004 05:56 PM
Moving LFS to a new drive LinuxLuvr Linux From Scratch 7 08-03-2004 03:53 AM
moving to another drive? dittohead Linux - Hardware 4 07-07-2003 10:43 AM
moving my hard drive illtbagu Linux - General 2 02-08-2003 04:56 PM


All times are GMT -5. The time now is 06:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration