Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Is my hard drive locked? Need help with Linux unlock
From: Linus Nielsen Feltzing (linus_at_haxx.se)
Date: 2003-11-04


Honda wrote:
> This is exactly what I do.

I just partitioned and formatted my JB6000, just to test:

[root_at_linus root]# fdisk /dev/sdc

Command (m for help): o
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by
w(rite)

Command (m for help): n
Command action
    e extended
    p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-776, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-776, default 776):
Using default value 776

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): c
Changed system type of partition 1 to c (Win95 FAT32 (LBA))

Command (m for help): p

Disk /dev/sdc: 6007 MB, 6007357440 bytes
240 heads, 63 sectors/track, 776 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

    Device Boot Start End Blocks Id System
/dev/sdc1 1 776 5866528+ c Win95 FAT32 (LBA)

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
[root_at_linus root]# mkdosfs -F 32 -n Jukebox /dev/sdc1
mkdosfs 2.8 (28 Feb 2001)
[root_at_linus root]#

Worked perfectly.

Linus



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa