LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-08-2007, 08:05 AM   #16
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,478
Blog Entries: 4

Rep: Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526

Quote:
Originally Posted by bgeddy
This may be a weird request but here goes.. I currently have 2 hard disks installed on my box; hard disk 1 is 13Gb and is my primary bootable disk. It boot to lilo which then boot XP from disk 1 or Slackware from disk 2 (20Gb). Here is my "df -h" to give you a better idea :-

Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hdb1             943M  477M  417M  54% /
/dev/hdb6             5.6G  3.4G  1.9G  65% /usr
/dev/hdb7             1.9G  1.1G  759M  58% /opt
/dev/hdb8             9.3G  4.2G  4.6G  48% /home
/dev/hda1              13G   12G  1.1G  92% /winxp
As you can see I mount hard disk 1 under Slack to be /winxp.

Thing is I am thinking of buying a 300Gb disk for this box and would like to devote half to WinXP and half to Slackware (I run Slackware 11 with a 2.6.17 kernel. I have spent AGES configuring my Win and SLack installations to be just how I like them and was wondering whether there was a way to "image" or "ghost" my existing partitions from the 2 hard disks to new (and obviously much larger) partitions on the new 300Gb disk so my system worked as it does now but with LOTS more space ? I know I would have to change my lilo configuration for the new booting from a single disk but I reckon that is the easy part - it's the "imaging" bit that worries me! I really don't want to have to install all my apps for both OS's again and tinker with all the settings I have taken months getting just right. The 2 existing disks would then be put into another box for other uses. Hope this is possible but I realize it may be a long shot. Thanks in advance..

Hi,

Why not just use the 'dd' command to copy each partition to a new hard disk partition. You should read the LQ post on dd that AwesomeMachine posted. Very informative!

You would have to do some drive swapping but that is just mechanical and should not be a big deal.
 
Old 03-08-2007, 11:54 PM   #17
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Original Poster
Rep: Reputation: 227Reputation: 227Reputation: 227
Thanks to all for the valuable input - I never appreciated the power of th "dd" command. The link 'onebuck' supplied was really informative. I can see that this utility could be really dangerous in the wrong hands (i.e. stupid bad typers like me). Anyway - nothing ventured nothing gained as they say...

Cheers,

Eddy
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
RH 3 ES won't see hard disks bangulu Linux - General 2 10-08-2006 04:15 PM
How to get hard disks onto desktop fullofhope Linux - Hardware 1 01-20-2005 08:52 AM
How many Hard disks ? BizHat.com Linux - Software 5 01-18-2005 08:38 PM
2 Hard Disks and 2 OS? How to? nbn792 Linux - General 5 12-26-2003 08:20 PM
2 Hard disks hadi Linux - Newbie 4 10-29-2003 03:34 PM


All times are GMT -5. The time now is 08:07 PM.

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