On Mon, Jan 24, 2011 at 1:07 AM, <CACook@xxxxxxxxxxxxxxx> wrote: > > On /dev/sda I have sda1 which is my / bootable filesystem for Debian formatted ext4. This is 256MB on a 2TB drive. Really? How do you know it's 256 MB? > # fdisk /dev/sda > WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted. > WARNING: DOS-compatible mode is deprecated. It's strongly recommended to > switch off the mode (command 'c') and change display units to > sectors (command 'u'). > Command (m for help): p > Disk /dev/sda: 2000.4 GB, 2000398934016 bytes > 255 heads, 63 sectors/track, 243201 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: 0x00000000 > Device Boot Start End Blocks Id System > /dev/sda1 1 243202 1953514583+ ee GPT ... cause the fdisk output pretty much shows the first partition uses up all space. You can check again if you want, using "parted /dev/sda print" (just in case it's really fdisk problem). > Maybe it's possible that I just mkfs.btrfs /dev/sda and it will set up -only- the remaining space, but I'm afraid that this may destroy my OS. You might be able to boot using a live CD and use gparted to resize the current ext4 partition. > > Also, what if I want to set up the whole drive as BTRFS? Could this be bootable, and can the canned Debian kernel load the BTRFS driver for boot at install? Or would I boot to the CD, mkfs.btrfs the drive, then install Debian? Anyone tried this? Ubuntu Natty's grub2 has btrfs support, but It's still in alpha stage though. Don't know about Debian. At this point it's easiest if you use ext3/4 for /boot, and use btrfs only for "/". -- Fajar -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
