FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-03-2011, 01:07 PM
lina
 
Default How to set up the portable hard drive

On Sat, Sep 3, 2011 at 9:00 PM, Wolodja Wentland <babilen@gmail.com> wrote:
> On Sat, Sep 03, 2011 at 20:46 +0800, lina wrote:
>> On Sat, Sep 3, 2011 at 8:36 PM, Wolodja Wentland <babilen@gmail.com> 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 <babilen@gmail.com>
>
> 4096R/CAF14EFC
> 081C B7CD FF04 2BA9 94EA *36B2 8B7F 7D30 CAF1 4EFC
>



--
Best Regards,

lina


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAG9cJmmRMg-u4ZtCZzQAFk7V++h8qST+M+NrD=cZo67vf+=fiQ@mail.gmail .com">http://lists.debian.org/CAG9cJmmRMg-u4ZtCZzQAFk7V++h8qST+M+NrD=cZo67vf+=fiQ@mail.gmail .com
 
Old 09-03-2011, 01:29 PM
lina
 
Default How to set up the portable hard drive

On Sat, Sep 3, 2011 at 9:07 PM, lina <lina.lastname@gmail.com> wrote:
> On Sat, Sep 3, 2011 at 9:00 PM, Wolodja Wentland <babilen@gmail.com> wrote:
>> On Sat, Sep 03, 2011 at 20:46 +0800, lina wrote:
>>> On Sat, Sep 3, 2011 at 8:36 PM, Wolodja Wentland <babilen@gmail.com> 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.

cfdisk there is a bootable option, do I need give a partiation for
bootable here? if I need, what's the recommended size?

Here, boot means, boot the driver? I feel I don't need.

Thanks,
>>
>> 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 <babilen@gmail.com>
>>
>> 4096R/CAF14EFC
>> 081C B7CD FF04 2BA9 94EA *36B2 8B7F 7D30 CAF1 4EFC
>>
>
>
>
> --
> Best Regards,
>
> lina
>



--
Best Regards,

lina


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAG9cJmnSc2gv=NEfVtHNPNkzxo5NOA_3oT7Qc-WdbV9cO3Coig@mail.gmail.com">http://lists.debian.org/CAG9cJmnSc2gv=NEfVtHNPNkzxo5NOA_3oT7Qc-WdbV9cO3Coig@mail.gmail.com
 
Old 09-03-2011, 01:32 PM
lina
 
Default How to set up the portable hard drive

No primary partitions are marked bootable. DOS MBR cannot boot this.
reboot to updateToggle bootable flag of the current partitione(8), kpartx(8) or

if I just choose WRITE, it showed me above information in cfdisk interface.

Thanks,


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAG9cJmn-FF6Lhrjc51mxjGP7Fgamc2z1iwOBEuq=xhWhA8HoSg@mail.gm ail.com">http://lists.debian.org/CAG9cJmn-FF6Lhrjc51mxjGP7Fgamc2z1iwOBEuq=xhWhA8HoSg@mail.gm ail.com
 
Old 09-03-2011, 03:35 PM
Wolodja Wentland
 
Default How to set up the portable hard drive

On Sat, Sep 03, 2011 at 21:32 +0800, lina wrote:
> No primary partitions are marked bootable. DOS MBR cannot boot this.
> reboot to updateToggle bootable flag of the current partitione(8), kpartx(8) or
>
> if I just choose WRITE, it showed me above information in cfdisk interface.

Don't worry about that. Bootloaders of some (old) operating system need/use
this flag to figure out which partition they have to boot. It is not of any
relevance for Linux and even more so if you do not plan to boot from it.

See, for example, http://en.wikipedia.org/wiki/Boot_flag for a little more
information.
--
Wolodja <babilen@gmail.com>

4096R/CAF14EFC
081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC
 
Old 09-03-2011, 04:08 PM
lina
 
Default How to set up the portable hard drive

On Sat, Sep 3, 2011 at 11:35 PM, Wolodja Wentland <babilen@gmail.com> wrote:
> On Sat, Sep 03, 2011 at 21:32 +0800, lina wrote:
>> * No primary partitions are marked bootable. DOS MBR cannot boot this.
>> *reboot to updateToggle bootable flag of the current partitione(8), kpartx(8) or
>>
>> if I just choose WRITE, it showed me above information in cfdisk interface.
>
> Don't worry about that. Bootloaders of some (old) operating system need/use
> this flag to figure out which partition they have to boot. It is not of any
> relevance for Linux and even more so if you do not plan to boot from it.

Thanks.

In the last couple of hours,

I did a partition use "disk utility" in Mac,
and then move to the linux, format the second partition into ext4.

/dev/sdb3 on /media/GoFlexMac type hfsplus (ro,nosuid,nodev,uhelper=udisks)
/dev/sdb5 on /media/GoFlexLinux type ext4 (rw,nosuid,nodev,uhelper=udisks)

Thanks again and have a nice weekend,
>
> See, for example, http://en.wikipedia.org/wiki/Boot_flag for a little more
> information.
> --
> Wolodja <babilen@gmail.com>
>
> 4096R/CAF14EFC
> 081C B7CD FF04 2BA9 94EA *36B2 8B7F 7D30 CAF1 4EFC
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAG9cJm=QiV5CvV997-dRyccAJYKy4gFd74hSW_LSmobsTj88Mg@mail.gmail.com">h ttp://lists.debian.org/CAG9cJm=QiV5CvV997-dRyccAJYKy4gFd74hSW_LSmobsTj88Mg@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 08:47 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org