LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-31-2003, 02:10 PM   #1
bdp
Member
 
Registered: Apr 2002
Distribution: RH 9
Posts: 230

Rep: Reputation: 30
partimage shows drive but not partitions?


hi all,

i've tried to copy an image of hda2 with partimage using knoppix, system rescue CD, and the 15 MB partimage bootable ISO. however, partimage only shows 'hda' in the list of 'things to copy'. as of yet i've had no success with partimage but haven't seen any mention of this, what am i missing?

thanks, - bp
 
Old 11-23-2003, 04:15 AM   #2
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: KDE Neon (Wayland)
Posts: 5,218

Rep: Reputation: Disabled
don't know knoppix but assuming its a ram cd. For my floppies I use something like this for imaging hda2

mount -t reiserfs /dev/hdc1 /mnt # where I will save images TO
partimage
When it loads arrow down to highlight hda2 then tab to the dotted line and type
/mnt/myimage.gz and press the F5 button to continue and follow the prompts.

Your possible error is you need to mount either a cdburner or spare partition
 
Old 11-28-2003, 03:29 PM   #3
bdp
Member
 
Registered: Apr 2002
Distribution: RH 9
Posts: 230

Original Poster
Rep: Reputation: 30
thanks for the reply.

just to be sure i installed a second drive on a SCSI controller and mounted it ( mount -t ext3 /dev/sda1 /mnt [ partimage instructions say to mount directly onto /mnt ]).

when running partimage, my partitions listed in the topmost window are

hda
sda1

with no options for hda1, hda2, ... , hda4. however they do exist as this drive is my main system!

in the meantime i settled on dump/restore. i would like to discover what i'm missing since i still recommend ghost but would like to avoid proprietary software.

cheers, - bp
 
Old 11-28-2003, 09:27 PM   #4
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: KDE Neon (Wayland)
Posts: 5,218

Rep: Reputation: Disabled
correction, I should have said you may need to mount floppies or a burnt cd not a cdburner, heh heh.

the rest of reply was editted as I have a better reply.

Amendment 1
I have fished out a linuxformat cd of knoppix and ran it to see what you may be doing.

1) I opened the konsole shell icon and typed partimage and got a warning I was not in root mode/privilege but I could still see hda1
2) typed su and did not get a password prompt but prompt changes to the root prompt
3) for my old ide drive I then tweak it for hdparm like this
hdparm -c3d1u1X66 /dev/hda # you may have a modern one so try X67 or X68 its capital X not x and the rest are lowercase.
4) then I mount the drive that I am not going to overwrite (yep I have hdc)
mount -t reiserfs /dev/hdc1 /mnt
NOW can I suggest you try auto in lieu of ext3 to make sure PI finds your format for itself? Its a bit slower but may find an error?

5) the rest is history as I can see hda1 or whatever I like on hda. And your issue appears to be only seeing hda and not its partitions

Comments
A) If the auto fails then maybe your iso of pi is faulty?
B) could you also do me a favour and have a look at your boot up messages to see what is detected by knoppix if the su trick fails or you can look in the /var/logs I am looking for any kernel or other messages failing to detect your hda

Last edited by aus9; 11-29-2003 at 04:35 AM.
 
Old 11-29-2003, 08:20 AM   #5
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: KDE Neon (Wayland)
Posts: 5,218

Rep: Reputation: Disabled
ooh, another issue is knoppix hardware bootup probs see here for full ? list

http://download.linuxtag.org/knoppix...cheatcodes.txt
 
  


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
When I put a game in the cd drive nothing shows up. What do i do? Corbmaster Linux - Newbie 4 10-08-2005 03:01 PM
is there a terminal command that shows how much space is left in my partitions lemuel Linux - Newbie 3 01-23-2005 07:16 PM
WineX shows limited drive space irfanhab Linux - Software 0 06-15-2004 02:27 AM
Used dd now, then reformatted drive - still shows 80% full! bluehz Linux - Hardware 3 03-15-2004 08:46 PM
Why partimage cannot read a mounted drive? browny_amiga Linux - General 4 02-06-2004 10:33 AM


All times are GMT -5. The time now is 06:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration