Oberon Community Platform Forum

Support => Installation => Topic started by: dukester on July 09, 2010, 06:11:53 AM



Title: Yo Sven! FAT 12, 16 or 32 ?
Post by: dukester on July 09, 2010, 06:11:53 AM
Which FAT partition do you suggest I create for file sharing?
--
duke


Title: Re: Yo Sven! FAT 12, 16 or 32 ?
Post by: staubesv on July 09, 2010, 09:00:12 AM
FAT32.

Best,
Sven


Title: Re: Yo Sven! FAT 12, 16 or 32 ?
Post by: dukester on July 09, 2010, 02:06:47 PM
Cool!   So....

Shrink NTFS partition with outside help
Boot A2 CD and get into partition tool
Create FAT32 partition
Create A2 partition
Leave enough space on HD for Linux and BSD partitions. Let Linux and *BSD allocate the remainder.

Sound about correct?
--
duke


Title: Re: Yo Sven! FAT 12, 16 or 32 ?
Post by: staubesv on July 09, 2010, 02:42:56 PM
Yes, it does.

Comments:
- 10GB for an A2 partition is huge, about 2GB should be enough
- I would recommend you to create two A2 partitions. In case that you break one, you can boot the other to fix it (instead of the A2 Live-CD)

Partition Tool:
- Use Type 76 (decimal) for A2 partitions. Note: When you use the installer to install A2, it will automatically change the type of the selected partition to 76.
- You can have at most 4 primary partitions.
- Use Type 5 (decimal) if you want to create an extended partition (that contains other partitions)
- Use Type 12 (decimal) for FAT 32 partition


Title: Re: Yo Sven! FAT 12, 16 or 32 ?
Post by: dukester on July 16, 2010, 01:23:32 AM
All good stuff, thanks!

I've been busy with other things lately, so my HD is still not partitioned.

I'm still a bit fuzzy about _how_ to go about doing what I want. So to refresh:

I currently have a 100% NTFS HD

I want:

NTFS
Linux
some BSD OS
A2
A2
FAT32

I need to shrink the NTFS partition! I have the tool (gparted LiveCD)

After shrinking the NTFS partition, I'll boot the A2 LiveCD and use the "Partitions" tool to create the A2 and FAT32 partitions. I realize that I can only have 4 primary partitions, i.e.

1. NTFS
2. Linux
3. BSD
4. ????

So my questions are:

Does A2 partitions need to be primary? Does the FAT32 partition that you recommend, need to be a primary partition?

As you can see, I'm not too sure how to carve up the HD in order to give me all that I want.
--
duke


Title: Re: Yo Sven! FAT 12, 16 or 32 ?
Post by: staubesv on July 16, 2010, 09:29:42 AM
Quote
Does A2 partitions need to be primary? Does the FAT32 partition that you recommend, need to be a primary partition?
No, they can live in an extended partition. This is also true for Linux.





Title: Re: Yo Sven! FAT 12, 16 or 32 ?
Post by: dukester on July 16, 2010, 07:08:35 PM
Swell! So this should be do-able from the A2 Partitions tool:

NTFS   - Primary 1
A2       - extended => Type 5
A2       - extended => Type 5
FAT32  - extended => Type 5
big chunk left for Linux and *BSD to use

Sound about right?

One more question:

Is an extended partition associated with a particular primary partition? In other words, does an "extended" partition extend a particular partition, or can they exist on a volume with no primary partitions at all?
--
duke


Title: Re: Yo Sven! FAT 12, 16 or 32 ?
Post by: staubesv on July 19, 2010, 09:21:30 AM
The MBR has four slots for partitions. At most one can be an extended partition. This extended partition is a container partition that contains other partitions. Essentially, extended partitions were introduced to circumvent the MBR limitation (at most 4 partitions) but still being compatible to software that is not aware of extended partitions (that simply cannot handle the extended partition and partitions within) ...

Quote
Is an extended partition associated with a particular primary partition?
The extended partition is a primary partition in means of it occupies one of the four MBR slots.

Quote
In other words, does an "extended" partition extend a particular partition, or can they exist on a volume with no primary partitions at all?
The extended partition indicates the primary partition that is supposed to be treated in a special way (since it is only a container for other "logical" partitions).
YEs, you can have a volume with only one extended partition.

You're disk setup would look like:

MBR slot 1:    NTFS
MBR slot 2:    Extended (type 5) contains two A2 partitions (type 76) and FAT 32 (type 12)
MBR slot 3:    Unused
MBR slot 4:    Unused

You could also leave slot 3 & 4 unused and put the Linux/BSD partitions into the extended partition.

To create this with the A2 partition tool (assuming the NTFS partition already exists):

1. Select unused space on disk
2. Create extended partition (Partition Tool -> Partitions -> Create)
3. Select unused space in extended partition
4. Create logical partition (one a time)


Title: Re: Yo Sven! FAT 12, 16 or 32 ?
Post by: dukester on July 20, 2010, 05:33:28 PM
Thanks for the detailed reply. I wish that I had had the patience to wait until yesterday to carve up my volume. I did it on the weekend and _somewhat_ screwed it up. ;)

I shrunk the single NTFS partition - no problems.
I created an "extended" partition with enough space to put:
     a. A2
     b. FAT32
     c. Linux ext4
     d. Linux swap
Left enough room on the volume for BSD
Installed the A2 bootloader in the volume MBR

For some reason, that didn't work - I can't remember because I deleted the non-NTFS partitions so many times, that I don't remember what was or was not working :)

Anyway, what I have now, and partially working is:

Partition1 - NTFS
Partition2 - extended
                  a. LinuxFS
                  b. Linux swap
Partition3 - BSD
Partition4 - A2
A2 bootloader in MBR

Everything boots except Linux. The Bootloader has the extended partition and the Linux entries highlighted in red, with the message: No PBR blah blah. Any idea how I could go about making Linux bootable? I was sure that you had said that Linux could happily live in an extended partition, and that the A2 Boot Manager would find it.

Now that I've got the volume carved up, do you think that I could delete the extended and A2 partitions, and with the free space created a Linux primary and with the remainder, an extended containing A2 and FAT?


Title: Re: Yo Sven! FAT 12, 16 or 32 ?
Post by: staubesv on July 21, 2010, 08:49:31 AM
Don't worry, Linux can be bootet from a logical partition.

This requires, however, that a boot loader that is capable of loading the Linux kernel (LILO, GRUB) is installed in the boot sector of that partition (PBR = Partition Boot Record). But this is not the case in your setup - that's why the boot manager says no PBR...

To make it work, boot from your Linux CD-ROM and install LILO or GRUB (google for installation instructions).

Note here that both LILO and GRUB could also be used as boot manager to boot the other operating systems. Personally, however, I would prefer the A2 boot manager since it does not need any configuration or knowledge to use it.




Title: Re: Yo Sven! FAT 12, 16 or 32 ?
Post by: dukester on July 21, 2010, 04:39:40 PM
Well, I tried to install GRUB from the XUbuntu LiveCD. GRUB complained about being installed in the "logical" partition in the extended partition. So I installed it into the MBR. GRUB _did not_ recognize the BSD or A@ partitions.

I then rebooted from the A2 LiveCD and re-installed the A2 BootManager in the MBR. SO I'm back to square #1. Should I dis-regard the GRUB warnings about it being installed anywhere else but the MBR?


Title: Re: Yo Sven! FAT 12, 16 or 32 ?
Post by: staubesv on July 21, 2010, 09:56:01 PM
Huh... I'm not so much into Linux, but I've found http://www.linuxquestions.org/questions/linux-general-1/how-do-i-install-grub-into-the-partition-boot-record-pbr-695478/

Maybe GRUB is just complaining because the extended partition must not be active (this means a standard MBR will not be able to load grub from the logical partition - but the A2 boot manager can do).

Are any other users here more familiar with Linux/Grub?


Title: Re: Yo Sven! FAT 12, 16 or 32 ?
Post by: dukester on July 22, 2010, 05:46:07 AM
OK! I'll read the link tomorrow - it's late here in Canada.

I'm sure that we'll get it figured out eventually. Afterwards, I'm going to write a small HOWTO on partitioning a volume, and installing various OSes, including A2, and of course the Bluebottle Boot Manager. Thanks....