Re: Partitioning an external USB drive through OpenBSD -- disklabel

2009-10-31 Thread Kenneth R Westerback
Westerback Sent: Friday, October 30, 2009 5:38 PM To: Josh Grosse Cc: Amarendra Godbole; misc Subject: Re: Partitioning an external USB drive through OpenBSD -- disklabel On Fri, Oct 30, 2009 at 08:53:45AM -0500, Josh Grosse wrote: On Fri, 30 Oct 2009 18:44:08 +0530, Amarendra Godbole wrote

Re: Partitioning an external USB drive through OpenBSD -- disklabel

2009-10-31 Thread Theo de Raadt
Sorry for top-posting, but please: Disk sectors start with 1 Just pathetic. Hope you actually get a life sometime.

Partitioning an external USB drive through OpenBSD -- disklabel

2009-10-30 Thread Amarendra Godbole
Hi, I have a 320G Buffalo Ministation external USB drive, which I wish to partition so that it contains 1 DOS and 1 native OpenBSD (FFS) partition. Using disklabel, I could created these: p OpenBSD area: 0-625142448; size: 625142448; free: 0 #size offset fstype [fsize

Re: Partitioning an external USB drive through OpenBSD -- disklabel

2009-10-30 Thread James Hartley
On Fri, Oct 30, 2009 at 3:00 AM, Amarendra Godbole wrote: I want the USB disk to be also used on Windows XP, so the MSDOS partition. The problem isn't with disklabel (8). The problem *will* be Windows XP not being able to recognize the DOS partition. For Windows XP to recognize a DOS

Re: Partitioning an external USB drive through OpenBSD -- disklabel

2009-10-30 Thread Rod Whitworth
On Fri, 30 Oct 2009 15:30:23 +0530, Amarendra Godbole wrote: Also, is there another way to achieve this? (I was unable to create a MSDOS partition from Windows XP, as it only allows NTFS now). I'm not sure about all of your question but in the last week I created an MSDOS partition on a laptop

Re: Partitioning an external USB drive through OpenBSD -- disklabel

2009-10-30 Thread David Vasek
On Fri, 30 Oct 2009, Amarendra Godbole wrote: Hi, I have a 320G Buffalo Ministation external USB drive, which I wish to partition so that it contains 1 DOS and 1 native OpenBSD (FFS) partition. Using disklabel, I could created these: p OpenBSD area: 0-625142448; size: 625142448; free: 0 #

Re: Partitioning an external USB drive through OpenBSD -- disklabel

2009-10-30 Thread Otto Moerbeek
The disklabel is written at the start of the disk and you're overwriting it with the newfs_msdos command. You should fdisk the disk first, and reserve a separate MBR partition for MSDOS. See the FAQ. -Otto On Fri, Oct 30, 2009 at 03:30:23PM +0530, Amarendra Godbole wrote: Hi, I

Re: Partitioning an external USB drive through OpenBSD -- disklabel

2009-10-30 Thread Amarendra Godbole
On Fri, Oct 30, 2009 at 4:06 PM, Otto Moerbeek o...@drijf.net wrote: The disklabel is written at the start of the disk and you're overwriting it with the newfs_msdos command. You should fdisk the disk first, and reserve a separate MBR partition for MSDOS. See the FAQ. Thank you all for

Re: Partitioning an external USB drive through OpenBSD -- disklabel

2009-10-30 Thread Josh Grosse
On Fri, 30 Oct 2009 18:44:08 +0530, Amarendra Godbole wrote Thank you all for responses -- I have a better idea now. The only thing that I noticed was newfs_msdos wipes out the entire disklabel as well as any fdisk created partitions and gobbles up the entire disk. I guess what James

Re: Partitioning an external USB drive through OpenBSD -- disklabel

2009-10-30 Thread Nick Holland
Amarendra Godbole wrote: On Fri, Oct 30, 2009 at 4:06 PM, Otto Moerbeek o...@drijf.net wrote: The disklabel is written at the start of the disk and you're overwriting it with the newfs_msdos command. You should fdisk the disk first, and reserve a separate MBR partition for MSDOS. See the

Re: Partitioning an external USB drive through OpenBSD -- disklabel

2009-10-30 Thread Kenneth R Westerback
On Fri, Oct 30, 2009 at 08:53:45AM -0500, Josh Grosse wrote: On Fri, 30 Oct 2009 18:44:08 +0530, Amarendra Godbole wrote Thank you all for responses -- I have a better idea now. The only thing that I noticed was newfs_msdos wipes out the entire disklabel as well as any fdisk created

Re: Partitioning an external USB drive through OpenBSD -- disklabel

2009-10-30 Thread Tony Abernethy
Godbole; misc Subject: Re: Partitioning an external USB drive through OpenBSD -- disklabel On Fri, Oct 30, 2009 at 08:53:45AM -0500, Josh Grosse wrote: On Fri, 30 Oct 2009 18:44:08 +0530, Amarendra Godbole wrote Thank you all for responses -- I have a better idea now. The only thing that I