Thread: [Clonezilla-live] clonezilla live sees my flash as sd
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
From: Montaseri <mon...@gm...> - 2010-09-14 01:14:56
|
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 |
From: Montaseri <mon...@gm...> - 2010-09-15 18:52:39
|
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...> 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 > |
From: Les M. <les...@gm...> - 2010-09-15 19:06:11
|
Yes, it is on the list. I think this is just a side effect of the linux version that is running. More recent ones map about everything into /dev/sd? devices - and worse, it isn't all that predictable which one will get which number as they are detected especially if any of them are hotplug and may or may not be present at boot. On 9/15/2010 1:52 PM, Montaseri wrote: > 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 > > > > > ------------------------------------------------------------------------------ > 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... > https://lists.sourceforge.net/lists/listinfo/clonezilla-live |
From: Bill G. <gu...@io...> - 2010-09-15 19:18:10
|
It has been my experience that linux will "see" PATA (the older IDE interface) drives as /dev/hda, etc., while SATA drives are treated like SCSI drives, or /dev/sda, etc. USB drives are ALSO seen as SCSI (/dev/sda). So this sounds pretty normal to me. On 09/15/2010 03:06 PM, Les Mikesell wrote: > Yes, it is on the list. I think this is just a side effect of the linux > version that is running. More recent ones map about everything into > /dev/sd? devices - and worse, it isn't all that predictable which one > will get which number as they are detected especially if any of them are > hotplug and may or may not be present at boot. > > > On 9/15/2010 1:52 PM, Montaseri wrote: >> 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 >> >> >> >> >> ------------------------------------------------------------------------------ >> 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... >> https://lists.sourceforge.net/lists/listinfo/clonezilla-live > > > ------------------------------------------------------------------------------ > 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... > https://lists.sourceforge.net/lists/listinfo/clonezilla-live -- -Bill- --------------------------------------------- Bill Gurley, Technical Director Department of Chemistry Univ. of Tennessee, Knoxville 865-974-3145 (office) --------------------------------------------- |
From: Andy B. <abe...@ad...> - 2010-09-15 19:26:08
|
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...] Sent: Wednesday, September 15, 2010 2:52 PM To: 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 <font size="1" face="arial"> <blockquote> <p>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.</p> </blockquote> </font> |
From: Montaseri <mon...@gm...> - 2010-09-15 19:22:17
|
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... Thanks Medi On Wed, Sep 15, 2010 at 12:09 PM, Andy Berquist <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...] > *Sent:* Wednesday, September 15, 2010 2:52 PM > *To:* 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...> 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. > > |
From: Steven S. <st...@nc...> - 2010-09-15 20:30:46
|
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... > 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 |
From: Montaseri <mon...@gm...> - 2010-09-15 21:07:04
|
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. 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 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...> 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...>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...] >> *Sent:* Wednesday, September 15, 2010 2:52 PM >> *To:* 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...> 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 lis...@li...://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... > https://lists.sourceforge.net/lists/listinfo/clonezilla-live > > |
From: Montaseri <mon...@gm...> - 2010-09-16 19:10:01
|
I have figured out how to read the filesystem type from the superblock.... Looks like superblock on ext2 and ext3 starts at offset 1024 for a length of 1024. The ext2 magic code is 2 byte code ( EXT2_SUPER_MAGIC of value 0xEF53 ) . So, I dd(1) 2048 bytes out dd if=/dev/sda2 of=/tmp/2blocks bs=1024 count=2 I then use od(1) to and read 2 bytes from offset 1024 + 53 (some magic offset where fs type is)=1080 od -x -j1080 -N2 /tmp/2blocks 7b5a This is not oxEF53 which is the ext2, ext3 FS type. hence mount(1) can not work with it. Looks like this product (the one I am cloneing) vendor is playing FS type change game. Ok, I'll change it to what I want and then change it back. So I rolled up a handy dandy perl script to change FS type on the first superblock. And mount still fails. Do you know if mount(1) checks all the superblocks to make sure they are consistant? I am almost there to crack this case. Medi On Wed, Sep 15, 2010 at 2:06 PM, Montaseri <mon...@gm...> 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. > > 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 > > 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...> 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...>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...] >>> *Sent:* Wednesday, September 15, 2010 2:52 PM >>> *To:* 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...> 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 lis...@li...://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... >> https://lists.sourceforge.net/lists/listinfo/clonezilla-live >> >> > |
From: Steven S. <st...@nc...> - 2010-09-19 10:59:52
|
Hi, On 2010年09月17日 03:09, Montaseri wrote: > I have figured out how to read the filesystem type from the superblock.... > > Looks like superblock on ext2 and ext3 starts at offset 1024 for a > length of 1024. The ext2 magic code is 2 byte code ( > |EXT2_SUPER_MAGIC| of value 0xEF53 ) . > > So, I dd(1) 2048 bytes out > dd if=/dev/sda2 of=/tmp/2blocks bs=1024 count=2 > > I then use od(1) to and read 2 bytes from offset 1024 + 53 (some magic > offset where fs type is)=1080 > > od -x -j1080 -N2 /tmp/2blocks > 7b5a > > This is not oxEF53 which is the ext2, ext3 FS type. hence mount(1) can > not work with it. > > Looks like this product (the one I am cloneing) vendor is playing FS > type change game. Ok, I'll change it to what I want and then change it > back. > > So I rolled up a handy dandy perl script to change FS type on the > first superblock. And mount still fails. > > Do you know if mount(1) checks all the superblocks to make sure they > are consistant? I think so... Steven. > > I am almost there to crack this case. > > Medi > > > On Wed, Sep 15, 2010 at 2:06 PM, Montaseri <mon...@gm... > <mailto:mon...@gm...>> 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. > > 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 > > 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 |
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 |
From: Bill G. <gu...@io...> - 2010-09-15 19:26:23
|
You might try mounting as ext2. But also, I would never try to mount to /mnt. Make a directory in /mnt and use that. e.g., /mnt/Temp On 09/15/2010 03:22 PM, 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... > > 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. > > -- -Bill- --------------------------------------------- Bill Gurley, Technical Director Department of Chemistry Univ. of Tennessee, Knoxville 865-974-3145 (office) --------------------------------------------- |
From: Montaseri <mon...@gm...> - 2010-09-15 19:35:33
|
Hi Bill, Same result with ext2 and mounting on /joe This root partition is recognized as ext3 type on the box (being cloned, can I called it clone-ee vs cloner). The clonee is RH AS4.0 (RedHat 4) about 2007 and kernel 2.6.9.* . So whatever mount(1) version and/or VFS version is placed in clonezilla, it should be able to read that. Is there any tools to actually read the superblock and see what type is recorded? Thanks On Wed, Sep 15, 2010 at 12:26 PM, Bill Gurley <gu...@io...>wrote: > You might try mounting as ext2. But also, I would never try to mount to > /mnt. Make a directory in /mnt and use that. e.g., /mnt/Temp > > > On 09/15/2010 03:22 PM, 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... > > > > Thanks > > Medi > > > > > > > > > |
From: Les M. <les...@gm...> - 2010-09-15 19:37:55
|
On 9/15/2010 2:22 PM, 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 The installation is probably on LVM. I've seen directions somewhere on how to detect and mount the volumes inside them but can't remember where. And I tend to avoid LVM because I haven't seen good documentation on how to recover from errors on them. -- Les Mikesell les...@gm... |
From: Bill G. <gu...@io...> - 2010-09-15 19:47:03
|
Yeah, I agree with Les. For desktop machines I always manually partition so I can just use "regular" partitions. I do use LVM on large servers where there is a reason for it. Probably the easiest way to take a peek into that LVM file system is to boot to the appropriate redhat installation CD (RHEL4?), and type 'linux rescue' at the boot prompt. (I think that's right; it's been a while since I did it. Follow the prompts. It will offer to look for your root filesystem, so it should easily find the lvm partition(s). On 09/15/2010 03:37 PM, Les Mikesell wrote: > On 9/15/2010 2:22 PM, 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 > > The installation is probably on LVM. I've seen directions somewhere on > how to detect and mount the volumes inside them but can't remember > where. And I tend to avoid LVM because I haven't seen good > documentation on how to recover from errors on them. > -- -Bill- --------------------------------------------- Bill Gurley, Technical Director Department of Chemistry Univ. of Tennessee, Knoxville 865-974-3145 (office) --------------------------------------------- |
From: Montaseri <mon...@gm...> - 2010-09-15 19:47:53
|
Hi Les, No LVM....this is an embedded device/appliance (I am cloning), a flash drive contains /boot and / (root). Here is the fdisk and dmesg [root@meditest ]# dmesg | grep hda ide0: BM-DMA at 0x30b0-0x30b7, BIOS settings: hda:pio, hdb:DMA hda: PQI IDE DiskOnModule, ATA DISK drive hda: max request size: 128KiB hda: 2047248 sectors (1048 MB) w/0KiB Cache, CHS=2031/16/63, DMA hda: cache flushes not supported hda: hda1 hda2 EXT3 FS on hda2, internal journal EXT3 FS on hda1, internal journal [root@meditest]# fdisk -l /dev/hda 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 Do you know of any tool that can read the superblock to examine the FS type. While in clonezilla Medi On Wed, Sep 15, 2010 at 12:37 PM, Les Mikesell <les...@gm...>wrote: > On 9/15/2010 2:22 PM, 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 > > The installation is probably on LVM. I've seen directions somewhere on > how to detect and mount the volumes inside them but can't remember > where. And I tend to avoid LVM because I haven't seen good > documentation on how to recover from errors on them. > > -- > Les Mikesell > les...@gm... > > > > ------------------------------------------------------------------------------ > 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... > https://lists.sourceforge.net/lists/listinfo/clonezilla-live > |