Re: [Clonezilla-live] clonezilla live sees my flash as sd
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
From: Steven S. <st...@nc...> - 2010-09-19 10:58:51
|
On 2010年09月16日 05:06, Montaseri wrote: > Hi Steven, > > The posting was pointing out that on the clonee box (being cloned) my > OS sees a hda and sda while when I boot to clonezilla, both flash and > sata disks are being seen as sda and sdb. That's normal. Different kernel uses different config, and the kernel in Clonezilla live 1.2.5 and 1.2.6 see most of the disk as /dev/sd*, not /dev/hd*. > Per your recommendation and usage of blkid(1) and sda (a flash drive > for /boot and / ) and sdb for other stuff. > > # blkid -p /dev/sda > /dev/sda PTTYPE="dos" > > # blkid -p /dev/sda1 > # echo $? > 2 > > # blkid -p -u filesystem /dev/sda2 > # echo $? > 2 I mean you: 1. Boot clonezilla live 2. Choose to enter command line prompt 3. Run this command: sudo /sbin/blkid Then post the output messages of the above command. Steven. > > So mount(1) fails and blkid(1) is failing....is there any options for > blkid to debug further... > > Thanks > Medi > > On Wed, Sep 15, 2010 at 1:30 PM, Steven Shiau <st...@nc... > <mailto:st...@nc...>> wrote: > > > > On 2010年09月16日 05:22, Montaseri wrote: >> Thanks Les and Andy, >> >> I suppose I can ignore this type recognition if I can solve my >> real problem, which lead me to this inquiry. >> >> My real problem is that I would like to boot off of clonezilla >> and proceed to mount the root filesystem (of the box being >> cloned) to learn stuff from /etc such as IP of the box and such. >> This is to automate the cloneing to an NFS location in a proper >> folder, for ease of restore and such. >> >> Currently when I clonezilla fdisk reports my root filesystem type >> to be 83. When I try to mount this like >> >> mount -t ext3 /dev/sda2 /mnt >> >> I get the following error message >> VFS: Can't find ext3 filesystem on dev sda2 >> mount: wrong fs type, bad option, bad superblock on /dev/sda2 ... >> .....and bunch of other suggestions including see dmesg >> >> Any suggestions... > >From the message you posted: > =================== > > Disk /dev/sda: 250.0 GB, 250059350016 bytes > 255 heads, 63 sectors/track, 30401 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/sda1 1 17 136552 83 Linux > /dev/sda2 18 540 4200997+ 82 Linux swap > /dev/sda3 541 1846 10490445 83 Linux > <snap> > =================== > /dev/sda2 is swap, did you mean you want to mount /dev/sda3 actually? > Or please run: > sudo /sbin/blkid > then post the results. > > Steven. >> >> Thanks >> Medi >> >> >> >> >> On Wed, Sep 15, 2010 at 12:09 PM, Andy Berquist >> <abe...@ad... <mailto:abe...@ad...>> wrote: >> >> That’s normal. There was a kernel update somewhere in the 2.6 >> branch that deprecated the ide driver in favor of scsi >> emulation. I don’t know the exact details off the top of my >> head. >> >> Is it actually stopping you from doing something? >> >> -Andy >> >> *From:* Montaseri [mailto:mon...@gm... >> <mailto:mon...@gm...>] >> *Sent:* Wednesday, September 15, 2010 2:52 PM >> *To:* clo...@li... >> <mailto:clo...@li...> >> *Subject:* Re: [Clonezilla-live] clonezilla live sees my >> flash as sd >> >> I have not received any reply on this inquiry. Can someone >> send me an email indicating that it is being heard. >> >> Thanks >> Medi >> >> On Mon, Sep 13, 2010 at 6:14 PM, Montaseri >> <mon...@gm... <mailto:mon...@gm...>> wrote: >> >> Hi, >> >> Just installed and tried Clonezilla ver >> clonezilla-live-20100721-lucid.iso and booted my Linux box. >> >> I have two PATA partitions and a few more SCSI partitions. >> When I run fdisk from my (native) linux box, I see >> >> [root@meditest]# fdisk -l >> >> Disk /dev/hda: 1048 MB, 1048190976 bytes >> 32 heads, 63 sectors/track, 1015 cylinders >> Units = cylinders of 2016 * 512 = 1032192 bytes >> >> Device Boot Start End Blocks Id System >> /dev/hda1 1 131 132047+ 83 Linux >> /dev/hda2 132 1015 891072 83 Linux >> >> Disk /dev/sda: 250.0 GB, 250059350016 bytes >> 255 heads, 63 sectors/track, 30401 cylinders >> Units = cylinders of 16065 * 512 = 8225280 bytes >> >> Device Boot Start End Blocks Id System >> /dev/sda1 1 17 136552 83 Linux >> /dev/sda2 18 540 4200997+ 82 Linux >> swap >> /dev/sda3 541 1846 10490445 83 Linux >> /dev/sda4 1847 30401 229368037+ 5 Extended >> /dev/sda5 1847 3152 10490444+ 83 Linux >> /dev/sda6 3153 4458 10490444+ 83 Linux >> /dev/sda7 4459 8636 33559784+ 83 Linux >> /dev/sda8 8637 9942 10490444+ 83 Linux >> /dev/sda9 9943 11248 10490444+ 83 Linux >> /dev/sda10 11249 12554 10490444+ 83 Linux >> /dev/sda11 12555 30401 143356027 83 Linux >> >> But when I boot off of clonezilla, and run fdisk -l, I get >> (bunch of stuff skipped) >> Device Boot Start End >> Blocks Id System >> /dev/sda1 1 131 >> nnnn 83 Linux >> /dev/sda2 132 1015 >> nnnnn 83 Linux // nnnn is ok...just lazy >> ...skipping stuff.... >> /dev/sdb1 >> /dev/sdb2 >> >> Basically, Clonezilla is seeing both my flash disk and sata >> disk as scsi disks? >> Any ideas >> >> Thanks >> Medi >> >> This message (including any attachments) may contain >> confidential, proprietary, privileged and/or private >> proprietary information. The information is intended to >> be for the use of the individual or entity designated >> above. If you are not the intended recipient of this >> message, please notify the sender immediately, and delete >> the message and any attachments. Any disclosure, >> reproduction, distribution or other use of this message >> or any attachments by an individual or entity other than >> the intended recipient is prohibited. >> >> >> >> ------------------------------------------------------------------------------ >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev >> >> >> _______________________________________________ >> Clonezilla-live mailing list >> Clo...@li... <mailto:Clo...@li...> >> https://lists.sourceforge.net/lists/listinfo/clonezilla-live >> > > -- > Steven Shiau<steven _at_ nchc org tw> <steven _at_ stevenshiau org> > National Center for High-performance Computing, Taiwan.http://www.nchc.org.tw > Public Key Server PGP Key ID: 1024D/9762755A > Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Clonezilla-live mailing list > Clo...@li... > <mailto:Clo...@li...> > https://lists.sourceforge.net/lists/listinfo/clonezilla-live > > -- Steven Shiau<steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A |