gpt partitions

You think you have found a bug? Let us know about it.
Post Reply
stepomaticc
Posts: 1
Joined: 9. Aug 2011, 13:34

gpt partitions

Post by stepomaticc »

Please make salix gpt partitions ready.

Thanks for a great OS

stepomaticc
GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

Re: gpt partitions

Post by GJones »

IIRC you can exit the installer, run parted, and set up a GPT table and partitions, then restart the installer and set things up as needed. It should work fine; the only related bug in Slack 13.37 (which probably applies to Salix) is that the installer won't recognize swap partitions on a GPT disk, so they have to be added to fstab manually. Not the ideal solution, especially for novices, but there you have it.

(One warning though: BE CAREFUL WITH PARTED. Unlike fdisk and cfdisk, parted makes changes to the partition table instantly, and will gladly destroy all your data if you're not careful.)
GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

Re: gpt partitions

Post by GJones »

Umm wait a minute though, one other thing. If you set up a GPT table like I indicated, IIRC LILO needs to be installed to the boot partition, because GPT does not use an MBR. So make sure your boot partition is formatted with a filesystem compatible with LILO, e.g. ext3.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: gpt partitions

Post by gapan »

This howto should help: http://www.salixos.org/wiki/index.php/H ... hard_drive

We'll probably do something to make it more straightforward in future versions.
Image
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: gpt partitions

Post by thenktor »

GJones wrote:Not the ideal solution, especially for novices, but there you have it.
Do novices have GPT partition tables? :P
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: gpt partitions

Post by pwatk »

GJones wrote:the only related bug in Slack 13.37 (which probably applies to Salix) is that the installer won't recognize swap partitions on a GPT disk, so they have to be added to fstab manually.
You should just need to run mkswap on your designated swap partition before you start setup again.
gapan wrote:This howto should help: http://www.salixos.org/wiki/index.php/H ... hard_drive

We'll probably do something to make it more straightforward in future versions.
Does lilo actually work? I'm interested in using gpt for some large drives I'm saving for but I thought you needed to use syslinux or grub2 to boot.

I tried it out using extlinux on an ext3 partition (set to bios bootable) a few weeks ago but it didn't work. That said, I was using gdisk instead of parted so may be that was the problem.
Image
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: gpt partitions

Post by gapan »

pwatk wrote:Does lilo actually work? I'm interested in using gpt for some large drives I'm saving for but I thought you needed to use syslinux or grub2 to boot.
Yes it does. Just follow the howto. Worked for me anyway. It works like that in the installer, but if you run liloconfig in an installed system, I remember there is a trick. For some reason liloconfig sets "boot=/dev/root" in /etc/lilo.conf instead of "boot=/dev/sda" or similar and you have to edit it manually before running lilo.
Image
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: gpt partitions

Post by thenktor »

gapan wrote:Yes it does. Just follow the howto.
I should try this with my next drive :)
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
jendral_hxr
Posts: 1
Joined: 28. Dec 2011, 09:38

Re: gpt partitions

Post by jendral_hxr »

Pardon me, I am new here.

I've been struggling to install Salix64 in my box equipped with Intel Atom D510. I want it to be UEFI and GPT-aware. The guide about installing Salix on GPT hardrive (which is mentioned above) wasn't much of help to me. Lilo gave me warnings when I tried to write the boot loader to root partition, but it's finished eventually. At last it won't give me a bootable system.

Still, I wonder how usb-stick installation media via unetbootin works just fine.
___
Edit: it turns out to be faulty firmware in the motherboard :D
Post Reply