Re: How to set up the portable hard drive
On Sat, Sep 3, 2011 at 9:00 PM, Wolodja Wentland <email@example.com> wrote:
> On Sat, Sep 03, 2011 at 20:46 +0800, lina wrote:
>> On Sat, Sep 3, 2011 at 8:36 PM, Wolodja Wentland <firstname.lastname@example.org> wrote:
>> > On Sat, Sep 03, 2011 at 19:14 +0800, lina wrote:
>> >> >
>> >> > Could you give us the output of
>> >> >
>> >> > # fdisk -l /dev/sda
>> > Sorry, I meant "fdisk -l /dev/sdb"
>> # fdisk -l /dev/sdb
>> Disk /dev/sdb: 1000.2 GB, 1000204885504 bytes
>> 255 heads, 63 sectors/track, 121601 cylinders, total 1953525167 sectors
>> Units = sectors of 1 * 512 = 512 bytes
>> Sector size (logical/physical): 512 bytes / 512 bytes
>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>> Disk identifier: 0xa9a5ecc3
>> Device Boot Start End Blocks Id System
>> /dev/sdb1 63 1953520127 976760032+ 7 HPFS/NTFS/exFAT
> Ok, that is fine. One thing you might want to consider is to create two
> partitions on the drive. That would allow you to use the first with an ext3/4
> filesystem for Debian and the other with an vfat filesystem for Debian, MS
> Windows and OSX.
That's exactly what I wished for.
but I felt I made another silly decisions couple of minutes ago, I
tried to feed the hard drive a bit,
so I am transferring some data into it.
> You can use, cfdisk, fdisk, parted and other programs to partition. cfdisk is
> probably easier to user use than fdisk and you can run it with "cfdisk
> /dev/sdb" -- Delete the existing partition and create two new (primary) ones.
> Something like 950GB for ext4 and the rest for vfat might make sense, but that
> depends on your usage.
> You can then create the ext3/4 filesystem (on /dev/sdb1) with the commands I
> mentioned in my other post and the vfat one with "mkfs.vfat /dev/sdb2". You
> find mkfs.vfat in the dosfstools package.
I will try. Thanks very much.
> Wolodja <email@example.com>
> 081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC