gpt partitions

You think you have found a bug? Let us know about it.

gpt partitions

Postby stepomaticc » 9. Aug 2011, 13:37

Please make salix gpt partitions ready.

Thanks for a great OS

stepomaticc
stepomaticc
 
Posts: 1
Joined: 9. Aug 2011, 13:34

Re: gpt partitions

Postby GJones » 10. Aug 2011, 03:45

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
 
Posts: 257
Joined: 22. Jul 2011, 23:27

Re: gpt partitions

Postby GJones » 10. Aug 2011, 14:33

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.
GJones
 
Posts: 257
Joined: 22. Jul 2011, 23:27

Re: gpt partitions

Postby gapan » 10. Aug 2011, 20:59

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
User avatar
gapan
Salix Wizard
 
Posts: 3487
Joined: 6. Jun 2009, 17:40

Re: gpt partitions

Postby thenktor » 11. Aug 2011, 07:37

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)
last.fm (my last.fm profile)
User avatar
thenktor
Salix Wizard
 
Posts: 2393
Joined: 6. Jun 2009, 14:47
Location: Franconia

Re: gpt partitions

Postby pwatk » 11. Aug 2011, 18:31

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
pwatk
 
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: gpt partitions

Postby gapan » 11. Aug 2011, 19:19

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
User avatar
gapan
Salix Wizard
 
Posts: 3487
Joined: 6. Jun 2009, 17:40

Re: gpt partitions

Postby thenktor » 12. Aug 2011, 07:49

gapan wrote:Yes it does. Just follow the howto.

I should try this with my next drive :)
Image
burnCDDA (burns audio CDs)
last.fm (my last.fm profile)
User avatar
thenktor
Salix Wizard
 
Posts: 2393
Joined: 6. Jun 2009, 14:47
Location: Franconia

Re: gpt partitions

Postby jendral_hxr » 28. Dec 2011, 10:03

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
jendral_hxr
 
Posts: 1
Joined: 28. Dec 2011, 09:38


Return to Bugs