LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-21-2004, 07:29 PM   #1
rocs78
LQ Newbie
 
Registered: Sep 2004
Location: Brisbane, Qld. Au
Posts: 5

Rep: Reputation: 0
Need to partion a new system


I am trying to ghost a current version of Fedora that I am running. I have managed to create the ghost images of each partition on the master system, however my problem comes in when I am trying to put the ghost images on the new system. I need to have the new systems HDD partitioned with the Ext2 and Ext3 partitions etc. Is there anyway I can do this without running the Fedora Install Cd's??? Basically I want to be able to send these Cd's and perhaps a floppy disk to a user and have them rebuilt of build a new PC from the ghost images????

Can Linux partition the drive from a bootup disk similar to the FDISK used by DOS.... If so what problem would I use and is it user friendly???? Thank you all for any help you can provide on this matter
 
Old 10-22-2004, 04:20 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You can do it. Simply by copying or by using 'dd' program. dd allows (among other things) to build disks/partitions/floppy images. Syntax looks this way
dd if=/dev/hda of=myimage.img
It creates an image of /dev/hda1 (first partition on your first disk) to myimage.img file. Then you can compress it and send/move to another machine. When writing it back switch 'if' and 'of' parameters (of course, use the right partition and the right file name). Running 'man dd' will show you many more possible options.

The partitioning program you can use from most installation cds (in rescue mode but also using standard installation mode) is ...fdisk It's text mode, so may b hard first time you try it. Has descriptions of all the options so if you read them carefully before using it shouldn't be that hard. You may also other tools available like parted (used to change partition sizes etc).
 
Old 10-22-2004, 06:39 PM   #3
rocs78
LQ Newbie
 
Registered: Sep 2004
Location: Brisbane, Qld. Au
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for your help Mara, I found the Fdisk system and gave it a try, however it required manual intervention to partition the drive. (selecting partitions one at a time). I have also come across SFDISK which allows us to use a script file to set the partition size and type. We are going to try this next week but I think we will also look at the DD command you mentioned and see if that will be easier for us!!!

Thanks for your help
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux partion sanjibgupta Linux - Newbie 1 12-14-2004 04:33 AM
Linux Partion gardenair Linux - Newbie 1 11-05-2004 08:25 PM
how do i move files from my windows partion to my linux partion awesome_man Linux - Newbie 2 01-30-2004 12:51 PM
Must "/boot" partion be installed in the primary partion? domeili Linux - Newbie 9 11-01-2003 08:27 AM
Partion problem hpc Linux - Newbie 1 07-02-2001 06:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:43 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
Open Source Consulting | Domain Registration