* fdisk on cygwin
@ 2011-06-17 11:54 PRASANTH RAJAGOPAL
2011-06-17 11:58 ` Marco atzeri
0 siblings, 1 reply; 5+ messages in thread
From: PRASANTH RAJAGOPAL @ 2011-06-17 11:54 UTC (permalink / raw)
To: cygwin
Hi,
I used to do run some commands on Cygwin, until I completely moved to
Linux based development. I have a situation where I thought Cygwin can
help me.
I need to partition an SDHC card. I have a SD slot in my Windows
laptop, but I dont have a good software to partition for boot and
linux. I have a SD Card reader that I could insert to Linux machine,
but it seems it has gone bad. I am not really familiar with
partitioning, but the commands from the relevant docs says I need to
use fdisk
(the web page is here http://omappedia.org/wiki/Minimal-FS_SD_Configuration).
required partitioning:
Device Boot Start End Blocks Id System
/dev/sde1 * 1 9 72261 c W95 FAT32 (LBA)
/dev/sde2 10 120 891607+ 83 Linux
If I read mails correctly, the cygwin-1.3.16-1 release has fdisk with
it (http://sources.redhat.com/ml/cygwin/2002-11/msg01300.html), but it
was ultimately removed, and perhaps we need to compile now. from
source. Now, I am not interested in code compilation for time being
(got to do with a lot of Linux kernel compilation now...); I might
just buy a cheap Card reader.
Questions (assuming cygwin fdisk can indeed help me partition the SDcard):
1. Is it true that cygwin-1.3.16-1 haD fdisk, if so where can I find
that older release setup.exe?
2. Is there a way I can get the package to the latest release without
compilation?
Thanks.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: fdisk on cygwin
2011-06-17 11:54 fdisk on cygwin PRASANTH RAJAGOPAL
@ 2011-06-17 11:58 ` Marco atzeri
2011-06-17 13:32 ` PRASANTH RAJAGOPAL
0 siblings, 1 reply; 5+ messages in thread
From: Marco atzeri @ 2011-06-17 11:58 UTC (permalink / raw)
To: cygwin
On 6/17/2011 1:53 PM, PRASANTH RAJAGOPAL wrote:
> Hi,
>
> I used to do run some commands on Cygwin, until I completely moved to
> Linux based development. I have a situation where I thought Cygwin can
> help me.
>
> If I read mails correctly, the cygwin-1.3.16-1 release has fdisk with
> it (http://sources.redhat.com/ml/cygwin/2002-11/msg01300.html), but it
> was ultimately removed, and perhaps we need to compile now. from
> source. Now, I am not interested in code compilation for time being
> (got to do with a lot of Linux kernel compilation now...); I might
> just buy a cheap Card reader.
>
> Questions (assuming cygwin fdisk can indeed help me partition the SDcard):
>
> 1. Is it true that cygwin-1.3.16-1 haD fdisk, if so where can I find
> that older release setup.exe?
> 2. Is there a way I can get the package to the latest release without
> compilation?
>
> Thanks.
fdisk is still present
http://cygwin.com/cgi-bin2/package-cat.cgi?file=util-linux%2Futil-linux-2.17.2-1&grep=fdisk
no need to look on ancient cywgin versions.
Marco
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: fdisk on cygwin
2011-06-17 11:58 ` Marco atzeri
@ 2011-06-17 13:32 ` PRASANTH RAJAGOPAL
2011-06-17 14:28 ` PRASANTH RAJAGOPAL
0 siblings, 1 reply; 5+ messages in thread
From: PRASANTH RAJAGOPAL @ 2011-06-17 13:32 UTC (permalink / raw)
To: cygwin
Oops, I was searching for the package directly in the mirrors! I got
it installed now with utils...Thanks!
Now I have a problem that the SD card (inserted in to SD slot) is not
getting seen from fdisk. A USB stick can be seen though. Note that the
card is detected and works properly when accessed from WIndows Vista.
I also saw the correct drive J appears in /cygdrive.
sda - hdd
sdc - usb stick
############################################################
PRajagop@PRAJAGOP-L02 /usr/sbin
$ ./fdisk.exe -ls
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe7907177
Device Boot Start End Blocks Id System
/dev/sda1 1 11891 95506748 7 HPFS/NTFS
/dev/sda2 11891 19266 59244544 7 HPFS/NTFS
/dev/sda3 * 19266 19458 1536000 7 HPFS/NTFS
Disk /dev/sdc: 2000 MB, 2000682496 bytes
64 heads, 63 sectors/track, 969 cylinders
Units = cylinders of 4032 * 512 = 2064384 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdc1 1 969 1953439+ 6 FAT16
PRajagop@PRAJAGOP-L02 /cygdrive
$ ls
c d i j k x
############################################################
Why is the SD card device missing with fdisk?
Thanks..
On Fri, Jun 17, 2011 at 5:28 PM, Marco atzeri <marco.atzeri@gmail.com> wrote:
> On 6/17/2011 1:53 PM, PRASANTH RAJAGOPAL wrote:
>>
>> Hi,
>>
>> I used to do run some commands on Cygwin, until I completely moved to
>> Linux based development. I have a situation where I thought Cygwin can
>> help me.
>>
>
>> If I read mails correctly, the cygwin-1.3.16-1 release has fdisk with
>> it (http://sources.redhat.com/ml/cygwin/2002-11/msg01300.html), but it
>> was ultimately removed, and perhaps we need to compile now. from
>> source. Now, I am not interested in code compilation for time being
>> (got to do with a lot of Linux kernel compilation now...); I might
>> just buy a cheap Card reader.
>>
>> Questions (assuming cygwin fdisk can indeed help me partition the SDcard):
>>
>> 1. Is it true that cygwin-1.3.16-1 haD fdisk, if so where can I find
>> that older release setup.exe?
>> 2. Is there a way I can get the package to the latest release without
>> compilation?
>>
>> Thanks.
>
> fdisk is still present
>
> http://cygwin.com/cgi-bin2/package-cat.cgi?file=util-linux%2Futil-linux-2.17.2-1&grep=fdisk
>
> no need to look on ancient cywgin versions.
>
> Marco
>
> --
> Problem reports: http://cygwin.com/problems.html
> FAQ: http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>
>
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: fdisk on cygwin
2011-06-17 13:32 ` PRASANTH RAJAGOPAL
@ 2011-06-17 14:28 ` PRASANTH RAJAGOPAL
2011-06-17 23:06 ` Rolf Campbell
0 siblings, 1 reply; 5+ messages in thread
From: PRASANTH RAJAGOPAL @ 2011-06-17 14:28 UTC (permalink / raw)
To: cygwin
Here is my mount info: *J* is the SD card in SD slot and & *K* is the
USB stick.
PRajagop@PRAJAGOP-L02 /proc
$ cat mounts
D:/CYgWin/bin /usr/bin ntfs binary,auto 1 1
D:/CYgWin/lib /usr/lib ntfs binary,auto 1 1
D:/CYgWin / ntfs binary,auto 1 1
C: /cygdrive/c ntfs binary,posix=0,user,noumount,auto 1 1
D: /cygdrive/d ntfs binary,posix=0,user,noumount,auto 1 1
I: /cygdrive/i udf binary,posix=0,user,noumount,auto 1 1
J: /cygdrive/j vfat binary,posix=0,user,noumount,auto 1 1
K: /cygdrive/k vfat binary,posix=0,user,noumount,auto 1 1
X: /cygdrive/x ntfs binary,posix=0,user,noumount,auto 1 1
On Fri, Jun 17, 2011 at 7:01 PM, PRASANTH RAJAGOPAL
<prasanthris@gmail.com> wrote:
Now I have a problem that the SD card (inserted in to SD slot) is not
getting seen from fdisk. A USB stick can be seen though. Note that the
card is detected and works properly when accessed from WIndows Vista.
I also saw the correct drive J appears in /cygdrive.
sda - hdd
sdc - usb stick
############################################################
PRajagop@PRAJAGOP-L02 /usr/sbin
$ ./fdisk.exe -ls
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe7907177
Device Boot Start End Blocks Id System
/dev/sda1 1 11891 95506748 7 HPFS/NTFS
/dev/sda2 11891 19266 59244544 7 HPFS/NTFS
/dev/sda3 * 19266 19458 1536000 7 HPFS/NTFS
Disk /dev/sdc: 2000 MB, 2000682496 bytes
64 heads, 63 sectors/track, 969 cylinders
Units = cylinders of 4032 * 512 = 2064384 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdc1 1 969 1953439+ 6 FAT16
PRajagop@PRAJAGOP-L02 /cygdrive
$ ls
c d i j k x
############################################################
> On Fri, Jun 17, 2011 at 5:28 PM, Marco atzeri <marco.atzeri@gmail.com> wrote:
>> On 6/17/2011 1:53 PM, PRASANTH RAJAGOPAL wrote:
>>>
>>> Hi,
>>>
>>> I used to do run some commands on Cygwin, until I completely moved to
>>> Linux based development. I have a situation where I thought Cygwin can
>>> help me.
>>>
>>
>>> If I read mails correctly, the cygwin-1.3.16-1 release has fdisk with
>>> it (http://sources.redhat.com/ml/cygwin/2002-11/msg01300.html), but it
>>> was ultimately removed, and perhaps we need to compile now. from
>>> source. Now, I am not interested in code compilation for time being
>>> (got to do with a lot of Linux kernel compilation now...); I might
>>> just buy a cheap Card reader.
>>>
>>> Questions (assuming cygwin fdisk can indeed help me partition the SDcard):
>>>
>>> 1. Is it true that cygwin-1.3.16-1 haD fdisk, if so where can I find
>>> that older release setup.exe?
>>> 2. Is there a way I can get the package to the latest release without
>>> compilation?
>>>
>>> Thanks.
>>
>> fdisk is still present
>>
>> http://cygwin.com/cgi-bin2/package-cat.cgi?file=util-linux%2Futil-linux-2.17.2-1&grep=fdisk
>>
>> no need to look on ancient cywgin versions.
>>
>> Marco
>>
>> --
>> Problem reports: http://cygwin.com/problems.html
>> FAQ: http://cygwin.com/faq/
>> Documentation: http://cygwin.com/docs.html
>> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>>
>>
>
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: fdisk on cygwin
2011-06-17 14:28 ` PRASANTH RAJAGOPAL
@ 2011-06-17 23:06 ` Rolf Campbell
0 siblings, 0 replies; 5+ messages in thread
From: Rolf Campbell @ 2011-06-17 23:06 UTC (permalink / raw)
To: cygwin
On 2011-06-17 10:27, PRASANTH RAJAGOPAL wrote:
> Here is my mount info: *J* is the SD card in SD slot and& *K* is the
> USB stick.
>
> PRajagop@PRAJAGOP-L02 /proc
> $ cat mounts
> D:/CYgWin/bin /usr/bin ntfs binary,auto 1 1
> D:/CYgWin/lib /usr/lib ntfs binary,auto 1 1
> D:/CYgWin / ntfs binary,auto 1 1
> C: /cygdrive/c ntfs binary,posix=0,user,noumount,auto 1 1
> D: /cygdrive/d ntfs binary,posix=0,user,noumount,auto 1 1
> I: /cygdrive/i udf binary,posix=0,user,noumount,auto 1 1
> J: /cygdrive/j vfat binary,posix=0,user,noumount,auto 1 1
> K: /cygdrive/k vfat binary,posix=0,user,noumount,auto 1 1
> X: /cygdrive/x ntfs binary,posix=0,user,noumount,auto 1 1
>
> On Fri, Jun 17, 2011 at 7:01 PM, PRASANTH RAJAGOPAL
> <prasanthris@gmail.com> wrote:
>
> Now I have a problem that the SD card (inserted in to SD slot) is not
> getting seen from fdisk. A USB stick can be seen though. Note that the
> card is detected and works properly when accessed from WIndows Vista.
> I also saw the correct drive J appears in /cygdrive.
Yeah, I've seen this before. Some drivers for built-in SD-card readers
use *special* drivers that somehow avoid having the raw device visible
in the normal way. The way I got around it was to use an external,
USB-based card reader. IIRC, the raw disk device doesn't even show up
in the disk manager application (under the XP Administrative Tools
control panel program), which means this is probably not a cygwin bug.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-06-17 23:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-17 11:54 fdisk on cygwin PRASANTH RAJAGOPAL
2011-06-17 11:58 ` Marco atzeri
2011-06-17 13:32 ` PRASANTH RAJAGOPAL
2011-06-17 14:28 ` PRASANTH RAJAGOPAL
2011-06-17 23:06 ` Rolf Campbell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).