From: Richard T. <ri...@th...> - 2002-02-13 12:30:17
|
Good morning all... I have a newbie question, sorry. I am using cfdisk to create a partition on a harddrive. I select the default type as Linux and then write the partition table. However, I am not able to then mount the partition under Trinux. I load what I think are the appropriate modules. I have even tried changing the type to NTFS with no luck. What I am trying to do is create a partition that I can write a 6.5GB image file to using dd. I previously tried this with VFAT, but ran into the 2GB file size limit. Any suggestions? Thanks in advance. Richard Thomas |
From: <tb...@ti...> - 2002-02-13 15:00:13
|
It should work. However, the devil is in the details. What modules did you load? What is the dd command line? What are you doing after the dd finishes, that causes you to believe that the dd failed? If you hope to use the disk as a filesystem, then the image you are putting on the disk must be a fully formed filesystem. You should be able to test the image with a mount -o loop command before you do the dd. The partition type should be set to match the type of filesystem. More info would help. On Wed, 13 Feb 2002, Richard Thomas wrote: > Good morning all... > > I have a newbie question, sorry. > > I am using cfdisk to create a partition > on a harddrive. I select the default > type as Linux and then write the > partition table. However, I am not able > to then mount the partition under > Trinux. I load what I think are the > appropriate modules. I have even tried > changing the type to NTFS with no luck. > What I am trying to do is create a > partition that I can write a 6.5GB image > file to using dd. I previously tried > this with VFAT, but ran into the 2GB > file size limit. Any suggestions? > > Thanks in advance. > > Richard Thomas > > > _______________________________________________ > Trinux-talk mailing list > Tri...@li... > https://lists.sourceforge.net/lists/listinfo/trinux-talk > -- -------------------- Timothy Burt Internet Specialist |
From: Richard T. <ri...@th...> - 2002-02-13 16:05:30
|
Okay, here goes. Using cfdisk, I create a partition on the hard drive of type 'Linux'. Then I 'W'rite the partition table. I tried to mount the partition using the minix type. I get the error, "Too many filesystems, wrong partition, yada yada..." I loaded ext2.o and tried to mount using the ext2 type. Didn't work. I loaded ntfs.o and change the partition type to 'HPFS/NTFS'. I tried to mount using the ntfs type. Didn't work. I guess I don't know what "-t type" to specify when mounting a Linux type partition. When I initially tried to dd partition to the image file on a FAT32 partition, I got an error about exceeding the 2GB file limit. The dd command line looks like this: dd if=/dev/hdd1 of=/directory/disk.img bs=1M I am writing a hard drive partition to an image file and then writing the image file to a 'clean' hard drive. Richard Thomas ----- Original Message ----- From: <tb...@ti...> To: "Richard Thomas" <ri...@th...> Cc: "Trinux-Talk" <tri...@li...> Sent: Wednesday, February 13, 2002 9:00 AM Subject: Re: [Trinux-talk] Harddrive Format > > It should work. However, the devil is in the details. > > What modules did you load? > > What is the dd command line? > > What are you doing after the dd finishes, that causes you to believe that > the dd failed? > > If you hope to use the disk as a filesystem, then the image you are > putting on the disk must be a fully formed filesystem. You should be able > to test the image with a mount -o loop command before you do the dd. The > partition type should be set to match the type of filesystem. > > More info would help. > > On Wed, 13 Feb 2002, Richard Thomas wrote: > > > Good morning all... > > > > I have a newbie question, sorry. > > > > I am using cfdisk to create a partition > > on a harddrive. I select the default > > type as Linux and then write the > > partition table. However, I am not able > > to then mount the partition under > > Trinux. I load what I think are the > > appropriate modules. I have even tried > > changing the type to NTFS with no luck. > > What I am trying to do is create a > > partition that I can write a 6.5GB image > > file to using dd. I previously tried > > this with VFAT, but ran into the 2GB > > file size limit. Any suggestions? > > > > Thanks in advance. > > > > Richard Thomas > > > > > > _______________________________________________ > > Trinux-talk mailing list > > Tri...@li... > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > -- > -------------------- > Timothy Burt > Internet Specialist > > > |
From: <tb...@ti...> - 2002-02-13 17:36:31
|
The dd command you quote is to read IN the partition to a file. I assume you are changing the command when you dd the file to a partition. Do you know the proper device name for the partition you have just created? Was it used in the dd (out) command? You might try a "dd if=/dev/hdXX | od -c | head" and a "dd if=/directory/disk.img | od -c | head" and compare them visually. This might tell you alot. Perhaps you are missing an important piece... A partition defines a region of disk. A filesystem fills a partition, and defines how the data is organized. A file is a container, placed within a filesystem, that can hold data. [.*]nux offers features not found in other OS's, including the ability to bypass the filesystem and place a file on a partition and vise versa. You can dd a partition to a file. and then dd the file back to a new partition. You will have mirrored the partition. If you have both disks connected but unmounted, then you can dd directly "dd if=/dev/hde1 of=/dev/hde2". The imtermediary file is not necessary. You can then mount the second partition, just as you did the first. If you couldn't mount the source partition, then you won't be able to mount the clone. What is on the partition you are hoping to clone? Is is a windows partition? FAT? NTFS? or Linux? minix, ext2, ext3?. I think this may be a mount issue... On Wed, 13 Feb 2002, Richard Thomas wrote: > Okay, here goes. > > Using cfdisk, I create a partition on the hard drive of type 'Linux'. Then I > 'W'rite the partition table. > > I tried to mount the partition using the minix type. I get the error, "Too > many filesystems, wrong partition, yada yada..." > > I loaded ext2.o and tried to mount using the ext2 type. Didn't work. > > I loaded ntfs.o and change the partition type to 'HPFS/NTFS'. I tried to > mount using the ntfs type. Didn't work. > > I guess I don't know what "-t type" to specify when mounting a Linux type > partition. > > When I initially tried to dd partition to the image file on a FAT32 > partition, I got an error about exceeding the 2GB file limit. > > The dd command line looks like this: dd if=/dev/hdd1 of=/directory/disk.img > bs=1M > > I am writing a hard drive partition to an image file and then writing the > image file to a 'clean' hard drive. > > Richard Thomas > > ----- Original Message ----- > From: <tb...@ti...> > To: "Richard Thomas" <ri...@th...> > Cc: "Trinux-Talk" <tri...@li...> > Sent: Wednesday, February 13, 2002 9:00 AM > Subject: Re: [Trinux-talk] Harddrive Format > > > > > > It should work. However, the devil is in the details. > > > > What modules did you load? > > > > What is the dd command line? > > > > What are you doing after the dd finishes, that causes you to believe that > > the dd failed? > > > > If you hope to use the disk as a filesystem, then the image you are > > putting on the disk must be a fully formed filesystem. You should be able > > to test the image with a mount -o loop command before you do the dd. The > > partition type should be set to match the type of filesystem. > > > > More info would help. > > > > On Wed, 13 Feb 2002, Richard Thomas wrote: > > > > > Good morning all... > > > > > > I have a newbie question, sorry. > > > > > > I am using cfdisk to create a partition > > > on a harddrive. I select the default > > > type as Linux and then write the > > > partition table. However, I am not able > > > to then mount the partition under > > > Trinux. I load what I think are the > > > appropriate modules. I have even tried > > > changing the type to NTFS with no luck. > > > What I am trying to do is create a > > > partition that I can write a 6.5GB image > > > file to using dd. I previously tried > > > this with VFAT, but ran into the 2GB > > > file size limit. Any suggestions? > > > > > > Thanks in advance. > > > > > > Richard Thomas > > > > > > > > > _______________________________________________ > > > Trinux-talk mailing list > > > Tri...@li... > > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > > > > -- > > -------------------- > > Timothy Burt > > Internet Specialist > > > > > > > > > _______________________________________________ > Trinux-talk mailing list > Tri...@li... > https://lists.sourceforge.net/lists/listinfo/trinux-talk > -- -------------------- Timothy Burt Internet Specialist |
From: Richard T. <ri...@th...> - 2002-02-13 18:09:40
|
The reason I was trying to mount the partition after creating it was to make sure I was creating it correctly. If I create a Linux (82?) type partition what -t type do I specify in the mount command line? What type partition do I create if I want to use the ext2 driver to mount the partition? I am using dd to an intermediary file so that I get matching hashes from the initial partition and the destination image file. If I dd from drive to drive, it will make an exact copy of the partition, but the hashes won't match. I agree that I might be missing something. I just looked online and saw that I am missing the mkfs command step. I told you this was a newbie question. ----- Original Message ----- From: <tb...@ti...> To: "Richard Thomas" <ri...@th...> Cc: "Trinux-Talk" <tri...@li...> Sent: Wednesday, February 13, 2002 11:36 AM Subject: Re: [Trinux-talk] Harddrive Format > > The dd command you quote is to read IN the partition to a file. I assume > you are changing the command when you dd the file to a partition. Do you > know the proper device name for the partition you have just created? Was > it used in the dd (out) command? > > You might try a "dd if=/dev/hdXX | od -c | head" and a > > "dd if=/directory/disk.img | od -c | head" and compare them visually. > > This might tell you alot. > > Perhaps you are missing an important piece... > > A partition defines a region of disk. > A filesystem fills a partition, and defines how the data is organized. > A file is a container, placed within a filesystem, that can hold data. > > [.*]nux offers features not found in other OS's, including the ability to > bypass the filesystem and place a file on a partition and vise versa. > > You can dd a partition to a file. and then dd the file back to a new > partition. You will have mirrored the partition. If you have both disks > connected but unmounted, then you can dd directly "dd if=/dev/hde1 > of=/dev/hde2". The imtermediary file is not necessary. You can then > mount the second partition, just as you did the first. If you couldn't > mount the source partition, then you won't be able to mount the clone. > > What is on the partition you are hoping to clone? Is is a windows > partition? FAT? NTFS? or Linux? minix, ext2, ext3?. I think this may be a > mount issue... > > On Wed, 13 Feb 2002, Richard Thomas wrote: > > > Okay, here goes. > > > > Using cfdisk, I create a partition on the hard drive of type 'Linux'. Then I > > 'W'rite the partition table. > > > > I tried to mount the partition using the minix type. I get the error, "Too > > many filesystems, wrong partition, yada yada..." > > > > I loaded ext2.o and tried to mount using the ext2 type. Didn't work. > > > > I loaded ntfs.o and change the partition type to 'HPFS/NTFS'. I tried to > > mount using the ntfs type. Didn't work. > > > > I guess I don't know what "-t type" to specify when mounting a Linux type > > partition. > > > > When I initially tried to dd partition to the image file on a FAT32 > > partition, I got an error about exceeding the 2GB file limit. > > > > The dd command line looks like this: dd if=/dev/hdd1 of=/directory/disk.img > > bs=1M > > > > I am writing a hard drive partition to an image file and then writing the > > image file to a 'clean' hard drive. > > > > Richard Thomas > > > > ----- Original Message ----- > > From: <tb...@ti...> > > To: "Richard Thomas" <ri...@th...> > > Cc: "Trinux-Talk" <tri...@li...> > > Sent: Wednesday, February 13, 2002 9:00 AM > > Subject: Re: [Trinux-talk] Harddrive Format > > > > > > > > > > It should work. However, the devil is in the details. > > > > > > What modules did you load? > > > > > > What is the dd command line? > > > > > > What are you doing after the dd finishes, that causes you to believe that > > > the dd failed? > > > > > > If you hope to use the disk as a filesystem, then the image you are > > > putting on the disk must be a fully formed filesystem. You should be able > > > to test the image with a mount -o loop command before you do the dd. The > > > partition type should be set to match the type of filesystem. > > > > > > More info would help. > > > > > > On Wed, 13 Feb 2002, Richard Thomas wrote: > > > > > > > Good morning all... > > > > > > > > I have a newbie question, sorry. > > > > > > > > I am using cfdisk to create a partition > > > > on a harddrive. I select the default > > > > type as Linux and then write the > > > > partition table. However, I am not able > > > > to then mount the partition under > > > > Trinux. I load what I think are the > > > > appropriate modules. I have even tried > > > > changing the type to NTFS with no luck. > > > > What I am trying to do is create a > > > > partition that I can write a 6.5GB image > > > > file to using dd. I previously tried > > > > this with VFAT, but ran into the 2GB > > > > file size limit. Any suggestions? > > > > > > > > Thanks in advance. > > > > > > > > Richard Thomas > > > > > > > > > > > > _______________________________________________ > > > > Trinux-talk mailing list > > > > Tri...@li... > > > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > > > > > > > -- > > > -------------------- > > > Timothy Burt > > > Internet Specialist > > > > > > > > > > > > > > > _______________________________________________ > > Trinux-talk mailing list > > Tri...@li... > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > -- > -------------------- > Timothy Burt > Internet Specialist > > > |
From: <tb...@ti...> - 2002-02-13 18:39:52
|
What type of filesystem are you trying to clone? What, exactly is on the source partition? What is the device id of the source partition? What is the device id of the destination partition? On Wed, 13 Feb 2002, Richard Thomas wrote: > The reason I was trying to mount the partition after creating it was to make > sure I was creating it correctly. > > If I create a Linux (82?) type partition what -t type do I specify in the > mount command line? What type partition do I create if I want to use the > ext2 driver to mount the partition? > > I am using dd to an intermediary file so that I get matching hashes from the > initial partition and the destination image file. If I dd from drive to > drive, it will make an exact copy of the partition, but the hashes won't > match. > > I agree that I might be missing something. I just looked online and saw that > I am missing the mkfs command step. I told you this was a newbie question. > > ----- Original Message ----- > From: <tb...@ti...> > To: "Richard Thomas" <ri...@th...> > Cc: "Trinux-Talk" <tri...@li...> > Sent: Wednesday, February 13, 2002 11:36 AM > Subject: Re: [Trinux-talk] Harddrive Format > > > > > > The dd command you quote is to read IN the partition to a file. I assume > > you are changing the command when you dd the file to a partition. Do you > > know the proper device name for the partition you have just created? Was > > it used in the dd (out) command? > > > > You might try a "dd if=/dev/hdXX | od -c | head" and a > > > > "dd if=/directory/disk.img | od -c | head" and compare them visually. > > > > This might tell you alot. > > > > Perhaps you are missing an important piece... > > > > A partition defines a region of disk. > > A filesystem fills a partition, and defines how the data is organized. > > A file is a container, placed within a filesystem, that can hold data. > > > > [.*]nux offers features not found in other OS's, including the ability to > > bypass the filesystem and place a file on a partition and vise versa. > > > > You can dd a partition to a file. and then dd the file back to a new > > partition. You will have mirrored the partition. If you have both disks > > connected but unmounted, then you can dd directly "dd if=/dev/hde1 > > of=/dev/hde2". The imtermediary file is not necessary. You can then > > mount the second partition, just as you did the first. If you couldn't > > mount the source partition, then you won't be able to mount the clone. > > > > What is on the partition you are hoping to clone? Is is a windows > > partition? FAT? NTFS? or Linux? minix, ext2, ext3?. I think this may be a > > mount issue... > > > > On Wed, 13 Feb 2002, Richard Thomas wrote: > > > > > Okay, here goes. > > > > > > Using cfdisk, I create a partition on the hard drive of type 'Linux'. > Then I > > > 'W'rite the partition table. > > > > > > I tried to mount the partition using the minix type. I get the error, > "Too > > > many filesystems, wrong partition, yada yada..." > > > > > > I loaded ext2.o and tried to mount using the ext2 type. Didn't work. > > > > > > I loaded ntfs.o and change the partition type to 'HPFS/NTFS'. I tried to > > > mount using the ntfs type. Didn't work. > > > > > > I guess I don't know what "-t type" to specify when mounting a Linux > type > > > partition. > > > > > > When I initially tried to dd partition to the image file on a FAT32 > > > partition, I got an error about exceeding the 2GB file limit. > > > > > > The dd command line looks like this: dd if=/dev/hdd1 > of=/directory/disk.img > > > bs=1M > > > > > > I am writing a hard drive partition to an image file and then writing > the > > > image file to a 'clean' hard drive. > > > > > > Richard Thomas > > > > > > ----- Original Message ----- > > > From: <tb...@ti...> > > > To: "Richard Thomas" <ri...@th...> > > > Cc: "Trinux-Talk" <tri...@li...> > > > Sent: Wednesday, February 13, 2002 9:00 AM > > > Subject: Re: [Trinux-talk] Harddrive Format > > > > > > > > > > > > > > It should work. However, the devil is in the details. > > > > > > > > What modules did you load? > > > > > > > > What is the dd command line? > > > > > > > > What are you doing after the dd finishes, that causes you to believe > that > > > > the dd failed? > > > > > > > > If you hope to use the disk as a filesystem, then the image you are > > > > putting on the disk must be a fully formed filesystem. You should be > able > > > > to test the image with a mount -o loop command before you do the dd. > The > > > > partition type should be set to match the type of filesystem. > > > > > > > > More info would help. > > > > > > > > On Wed, 13 Feb 2002, Richard Thomas wrote: > > > > > > > > > Good morning all... > > > > > > > > > > I have a newbie question, sorry. > > > > > > > > > > I am using cfdisk to create a partition > > > > > on a harddrive. I select the default > > > > > type as Linux and then write the > > > > > partition table. However, I am not able > > > > > to then mount the partition under > > > > > Trinux. I load what I think are the > > > > > appropriate modules. I have even tried > > > > > changing the type to NTFS with no luck. > > > > > What I am trying to do is create a > > > > > partition that I can write a 6.5GB image > > > > > file to using dd. I previously tried > > > > > this with VFAT, but ran into the 2GB > > > > > file size limit. Any suggestions? > > > > > > > > > > Thanks in advance. > > > > > > > > > > Richard Thomas > > > > > > > > > > > > > > > _______________________________________________ > > > > > Trinux-talk mailing list > > > > > Tri...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > > > > > > > > > > -- > > > > -------------------- > > > > Timothy Burt > > > > Internet Specialist > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Trinux-talk mailing list > > > Tri...@li... > > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > > > > -- > > -------------------- > > Timothy Burt > > Internet Specialist > > > > > > > > > _______________________________________________ > Trinux-talk mailing list > Tri...@li... > https://lists.sourceforge.net/lists/listinfo/trinux-talk > -- -------------------- Timothy Burt Internet Specialist |
From: Richard T. <ri...@th...> - 2002-02-13 18:42:29
|
See below... ----- Original Message ----- From: <tb...@ti...> To: "Richard Thomas" <ri...@th...> Cc: "Trinux-Talk" <tri...@li...> Sent: Wednesday, February 13, 2002 12:39 PM Subject: Re: [Trinux-talk] Harddrive Format > > What type of filesystem are you trying to clone? In this instance, FAT32 > > What, exactly is on the source partition? A Win98 OS > > What is the device id of the source partition? /dev/hdd1 > > What is the device id of the destination partition? /dev/hdb1 > > > On Wed, 13 Feb 2002, Richard Thomas wrote: > > > The reason I was trying to mount the partition after creating it was to make > > sure I was creating it correctly. > > > > If I create a Linux (82?) type partition what -t type do I specify in the > > mount command line? What type partition do I create if I want to use the > > ext2 driver to mount the partition? > > > > I am using dd to an intermediary file so that I get matching hashes from the > > initial partition and the destination image file. If I dd from drive to > > drive, it will make an exact copy of the partition, but the hashes won't > > match. > > > > I agree that I might be missing something. I just looked online and saw that > > I am missing the mkfs command step. I told you this was a newbie question. > > > > ----- Original Message ----- > > From: <tb...@ti...> > > To: "Richard Thomas" <ri...@th...> > > Cc: "Trinux-Talk" <tri...@li...> > > Sent: Wednesday, February 13, 2002 11:36 AM > > Subject: Re: [Trinux-talk] Harddrive Format > > > > > > > > > > The dd command you quote is to read IN the partition to a file. I assume > > > you are changing the command when you dd the file to a partition. Do you > > > know the proper device name for the partition you have just created? Was > > > it used in the dd (out) command? > > > > > > You might try a "dd if=/dev/hdXX | od -c | head" and a > > > > > > "dd if=/directory/disk.img | od -c | head" and compare them visually. > > > > > > This might tell you alot. > > > > > > Perhaps you are missing an important piece... > > > > > > A partition defines a region of disk. > > > A filesystem fills a partition, and defines how the data is organized. > > > A file is a container, placed within a filesystem, that can hold data. > > > > > > [.*]nux offers features not found in other OS's, including the ability to > > > bypass the filesystem and place a file on a partition and vise versa. > > > > > > You can dd a partition to a file. and then dd the file back to a new > > > partition. You will have mirrored the partition. If you have both disks > > > connected but unmounted, then you can dd directly "dd if=/dev/hde1 > > > of=/dev/hde2". The imtermediary file is not necessary. You can then > > > mount the second partition, just as you did the first. If you couldn't > > > mount the source partition, then you won't be able to mount the clone. > > > > > > What is on the partition you are hoping to clone? Is is a windows > > > partition? FAT? NTFS? or Linux? minix, ext2, ext3?. I think this may be a > > > mount issue... > > > > > > On Wed, 13 Feb 2002, Richard Thomas wrote: > > > > > > > Okay, here goes. > > > > > > > > Using cfdisk, I create a partition on the hard drive of type 'Linux'. > > Then I > > > > 'W'rite the partition table. > > > > > > > > I tried to mount the partition using the minix type. I get the error, > > "Too > > > > many filesystems, wrong partition, yada yada..." > > > > > > > > I loaded ext2.o and tried to mount using the ext2 type. Didn't work. > > > > > > > > I loaded ntfs.o and change the partition type to 'HPFS/NTFS'. I tried to > > > > mount using the ntfs type. Didn't work. > > > > > > > > I guess I don't know what "-t type" to specify when mounting a Linux > > type > > > > partition. > > > > > > > > When I initially tried to dd partition to the image file on a FAT32 > > > > partition, I got an error about exceeding the 2GB file limit. > > > > > > > > The dd command line looks like this: dd if=/dev/hdd1 > > of=/directory/disk.img > > > > bs=1M > > > > > > > > I am writing a hard drive partition to an image file and then writing > > the > > > > image file to a 'clean' hard drive. > > > > > > > > Richard Thomas > > > > > > > > ----- Original Message ----- > > > > From: <tb...@ti...> > > > > To: "Richard Thomas" <ri...@th...> > > > > Cc: "Trinux-Talk" <tri...@li...> > > > > Sent: Wednesday, February 13, 2002 9:00 AM > > > > Subject: Re: [Trinux-talk] Harddrive Format > > > > > > > > > > > > > > > > > > It should work. However, the devil is in the details. > > > > > > > > > > What modules did you load? > > > > > > > > > > What is the dd command line? > > > > > > > > > > What are you doing after the dd finishes, that causes you to believe > > that > > > > > the dd failed? > > > > > > > > > > If you hope to use the disk as a filesystem, then the image you are > > > > > putting on the disk must be a fully formed filesystem. You should be > > able > > > > > to test the image with a mount -o loop command before you do the dd. > > The > > > > > partition type should be set to match the type of filesystem. > > > > > > > > > > More info would help. > > > > > > > > > > On Wed, 13 Feb 2002, Richard Thomas wrote: > > > > > > > > > > > Good morning all... > > > > > > > > > > > > I have a newbie question, sorry. > > > > > > > > > > > > I am using cfdisk to create a partition > > > > > > on a harddrive. I select the default > > > > > > type as Linux and then write the > > > > > > partition table. However, I am not able > > > > > > to then mount the partition under > > > > > > Trinux. I load what I think are the > > > > > > appropriate modules. I have even tried > > > > > > changing the type to NTFS with no luck. > > > > > > What I am trying to do is create a > > > > > > partition that I can write a 6.5GB image > > > > > > file to using dd. I previously tried > > > > > > this with VFAT, but ran into the 2GB > > > > > > file size limit. Any suggestions? > > > > > > > > > > > > Thanks in advance. > > > > > > > > > > > > Richard Thomas > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > Trinux-talk mailing list > > > > > > Tri...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > > > > > > > > > > > > > -- > > > > > -------------------- > > > > > Timothy Burt > > > > > Internet Specialist > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > Trinux-talk mailing list > > > > Tri...@li... > > > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > > > > > > > -- > > > -------------------- > > > Timothy Burt > > > Internet Specialist > > > > > > > > > > > > > > > _______________________________________________ > > Trinux-talk mailing list > > Tri...@li... > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > -- > -------------------- > Timothy Burt > Internet Specialist > > > |
From: <tb...@ti...> - 2002-02-14 02:29:25
|
The filesystem types available for the -t parameter to the mount command are: adfs, affs, autofs, coda, coherent, devpts, efs, ext, ext2, hfs, hpfs, iso9660, minix, msdos, ncpfs, nfs, ntfs, proc, qnx4, romfs, smbfs, sysv, udf, ufs, umsdos, vfat, xenix, xiafs I think for a FAT32 Win98 OS, you should use the vfat param or msdos param. You might try them both. Try mounting the old source partition with: mount -t vfat /dev/hdd1 /mnt If that fails, try msdos or umsdos for type. You can also find out the partition type of the /dev/hdd1 partition with fdisk .. fdisk /dev/hdd enter m<rtn> for help/menu and p<rtn> to view the current table. The partition type will be listed for hdd1. Make sure your destination partition is set to the same type. Once you can mount (and umount) the old source partition successfully, then create the new partition with the type you got from fdisk. then: dd if=/dev/hdd1 of=/dev/hdb1 You shouldn't need an intermediary file, and you shouldn't need the "bs" parameter. You should be able to mount the second partition then. Important note... hdb1 must be as large or larger than hdd1 in total size, not just disk used by the data. On Wed, 13 Feb 2002, Richard Thomas wrote: > See below... > > ----- Original Message ----- > From: <tb...@ti...> > To: "Richard Thomas" <ri...@th...> > Cc: "Trinux-Talk" <tri...@li...> > Sent: Wednesday, February 13, 2002 12:39 PM > Subject: Re: [Trinux-talk] Harddrive Format > > > > > > What type of filesystem are you trying to clone? > In this instance, FAT32 > > > > What, exactly is on the source partition? > A Win98 OS > > > > What is the device id of the source partition? > /dev/hdd1 > > > > What is the device id of the destination partition? > /dev/hdb1 > > > > > > On Wed, 13 Feb 2002, Richard Thomas wrote: > > > > > The reason I was trying to mount the partition after creating it was to > make > > > sure I was creating it correctly. > > > > > > If I create a Linux (82?) type partition what -t type do I specify in > the > > > mount command line? What type partition do I create if I want to use the > > > ext2 driver to mount the partition? > > > > > > I am using dd to an intermediary file so that I get matching hashes from > the > > > initial partition and the destination image file. If I dd from drive to > > > drive, it will make an exact copy of the partition, but the hashes won't > > > match. > > > > > > I agree that I might be missing something. I just looked online and saw > that > > > I am missing the mkfs command step. I told you this was a newbie > question. > > > > > > ----- Original Message ----- > > > From: <tb...@ti...> > > > To: "Richard Thomas" <ri...@th...> > > > Cc: "Trinux-Talk" <tri...@li...> > > > Sent: Wednesday, February 13, 2002 11:36 AM > > > Subject: Re: [Trinux-talk] Harddrive Format > > > > > > > > > > > > > > The dd command you quote is to read IN the partition to a file. I > assume > > > > you are changing the command when you dd the file to a partition. Do > you > > > > know the proper device name for the partition you have just created? > Was > > > > it used in the dd (out) command? > > > > > > > > You might try a "dd if=/dev/hdXX | od -c | head" and a > > > > > > > > "dd if=/directory/disk.img | od -c | head" and compare them visually. > > > > > > > > This might tell you alot. > > > > > > > > Perhaps you are missing an important piece... > > > > > > > > A partition defines a region of disk. > > > > A filesystem fills a partition, and defines how the data is organized. > > > > A file is a container, placed within a filesystem, that can hold data. > > > > > > > > [.*]nux offers features not found in other OS's, including the ability > to > > > > bypass the filesystem and place a file on a partition and vise versa. > > > > > > > > You can dd a partition to a file. and then dd the file back to a new > > > > partition. You will have mirrored the partition. If you have both > disks > > > > connected but unmounted, then you can dd directly "dd if=/dev/hde1 > > > > of=/dev/hde2". The imtermediary file is not necessary. You can then > > > > mount the second partition, just as you did the first. If you > couldn't > > > > mount the source partition, then you won't be able to mount the clone. > > > > > > > > What is on the partition you are hoping to clone? Is is a windows > > > > partition? FAT? NTFS? or Linux? minix, ext2, ext3?. I think this may > be a > > > > mount issue... > > > > > > > > On Wed, 13 Feb 2002, Richard Thomas wrote: > > > > > > > > > Okay, here goes. > > > > > > > > > > Using cfdisk, I create a partition on the hard drive of type > 'Linux'. > > > Then I > > > > > 'W'rite the partition table. > > > > > > > > > > I tried to mount the partition using the minix type. I get the > error, > > > "Too > > > > > many filesystems, wrong partition, yada yada..." > > > > > > > > > > I loaded ext2.o and tried to mount using the ext2 type. Didn't work. > > > > > > > > > > I loaded ntfs.o and change the partition type to 'HPFS/NTFS'. I > tried to > > > > > mount using the ntfs type. Didn't work. > > > > > > > > > > I guess I don't know what "-t type" to specify when mounting a Linux > > > type > > > > > partition. > > > > > > > > > > When I initially tried to dd partition to the image file on a FAT32 > > > > > partition, I got an error about exceeding the 2GB file limit. > > > > > > > > > > The dd command line looks like this: dd if=/dev/hdd1 > > > of=/directory/disk.img > > > > > bs=1M > > > > > > > > > > I am writing a hard drive partition to an image file and then > writing > > > the > > > > > image file to a 'clean' hard drive. > > > > > > > > > > Richard Thomas > > > > > > > > > > ----- Original Message ----- > > > > > From: <tb...@ti...> > > > > > To: "Richard Thomas" <ri...@th...> > > > > > Cc: "Trinux-Talk" <tri...@li...> > > > > > Sent: Wednesday, February 13, 2002 9:00 AM > > > > > Subject: Re: [Trinux-talk] Harddrive Format > > > > > > > > > > > > > > > > > > > > > > It should work. However, the devil is in the details. > > > > > > > > > > > > What modules did you load? > > > > > > > > > > > > What is the dd command line? > > > > > > > > > > > > What are you doing after the dd finishes, that causes you to > believe > > > that > > > > > > the dd failed? > > > > > > > > > > > > If you hope to use the disk as a filesystem, then the image you > are > > > > > > putting on the disk must be a fully formed filesystem. You should > be > > > able > > > > > > to test the image with a mount -o loop command before you do the > dd. > > > The > > > > > > partition type should be set to match the type of filesystem. > > > > > > > > > > > > More info would help. > > > > > > > > > > > > On Wed, 13 Feb 2002, Richard Thomas wrote: > > > > > > > > > > > > > Good morning all... > > > > > > > > > > > > > > I have a newbie question, sorry. > > > > > > > > > > > > > > I am using cfdisk to create a partition > > > > > > > on a harddrive. I select the default > > > > > > > type as Linux and then write the > > > > > > > partition table. However, I am not able > > > > > > > to then mount the partition under > > > > > > > Trinux. I load what I think are the > > > > > > > appropriate modules. I have even tried > > > > > > > changing the type to NTFS with no luck. > > > > > > > What I am trying to do is create a > > > > > > > partition that I can write a 6.5GB image > > > > > > > file to using dd. I previously tried > > > > > > > this with VFAT, but ran into the 2GB > > > > > > > file size limit. Any suggestions? > > > > > > > > > > > > > > Thanks in advance. > > > > > > > > > > > > > > Richard Thomas > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > Trinux-talk mailing list > > > > > > > Tri...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > > > > > > > > > > > > > > > > -- > > > > > > -------------------- > > > > > > Timothy Burt > > > > > > Internet Specialist > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > Trinux-talk mailing list > > > > > Tri...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > > > > > > > > > > -- > > > > -------------------- > > > > Timothy Burt > > > > Internet Specialist > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Trinux-talk mailing list > > > Tri...@li... > > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > > > > -- > > -------------------- > > Timothy Burt > > Internet Specialist > > > > > > > > > _______________________________________________ > Trinux-talk mailing list > Tri...@li... > https://lists.sourceforge.net/lists/listinfo/trinux-talk > -- -------------------- Timothy Burt Internet Specialist |
From: <HHu...@t-...> - 2002-02-13 20:21:13
|
Hallo, Richard, Du meintest am 13.02.02 zum Thema Re: [Trinux-talk] Harddrive Format: > Using cfdisk, I create a partition on the hard drive of type > 'Linux'. Then I 'W'rite the partition table. > I tried to mount the partition using the minix type. I get the > error, "Too many filesystems, wrong partition, yada yada..." Have you formatted the partition? Maybe yoe need first a reboot after partitioning. Maybe you should use "fdisk" or "sfdisk" instead of "cfdisk". Viele Gruesse! Helmut |