LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   partimage shows drive but not partitions? (https://www.linuxquestions.org/questions/linux-software-2/partimage-shows-drive-but-not-partitions-87669/)

bdp 08-31-2003 02:10 PM

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

aus9 11-23-2003 04:15 AM

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

bdp 11-28-2003 03:29 PM

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

aus9 11-28-2003 09:27 PM

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

aus9 11-29-2003 08:20 AM

ooh, another issue is knoppix hardware bootup probs see here for full ? list

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


All times are GMT -5. The time now is 04:39 PM.