Xubuntu install on Win7 laptop fails

Xen list at xenhideout.nl
Sat Jul 15 07:52:47 UTC 2017


Bob schreef op 15-07-2017 9:25:
> ** Reply to message from Liam Proven <lproven at gmail.com> on Fri, 14 Jul 
> 2017
> 13:13:52 +0200
> 
>> On 13 July 2017 at 21:54, Bob <ubuntu-qygzanxc at listemail.net> wrote:
>> 
>> >> That last line is a danger sign although not necessarily fatal.
>> >
>> > I don't know if it is a danger sign but that is how gparted does things and the
>> > partitioning program the installer uses. I can not speak to other partitioning
>> > programs because I have only used gparted but I think it is because of the
>> > brain dead method of assigning partition names by linux and I was very
>> > surprised by this when I started using Ubuntu.
>> 
>> Well, no, not really. Gparted doesn't do it. Gparted lets you do
>> whatever you want. It does what you tell it to. If you tell it to
>> create out-of-order partitions, it will. It is up to the human
>> operator to take care to avoid this happening.
> 
> No, I do not tell gparted to create an out-of-order partition.  I tell 
> gparted
> to create a partition, then depending on what has been done in the past 
> gparted
> my do strange things when it creates the partition.  This is because 
> linux is
> brain dead when it comes to partition identifiers, I think they may be 
> trying
> to fix the problem but they are not there yet.

No. The numbers are entries in a table. If you remove an existing 
partition and create new partitions in that space, they will get higher 
numbers (higher indices in the table) while having lower physical 
addresses.

This is why things get out of order. Unfortunately parted does not have 
an option to reorder stuff. But gdisk can:

sudo gdisk /dev/sda
p (print/show)
s (sort)
p (print/show)
w (write)
q (quit)

If you wanted these numbers to always be in physical order, you would 
have to always do this reordering. It just doesn't happen by itself, I 
mean that the parted or gparted tool would also have to always reorder 
the tables.

They are just entries in a list. You have to reorder the entries if you 
want them to have increasing numbers on disk.

The reason, ostensibly, that parted (or gparted) does not do this on its 
own, or by itself, automatically, is because it might change your fstab 
entries and so on.

I know it seems peculiar and it is not very helpful to have out-of-order 
partitions but all the same it is just to prevent partition table 
operations to have disastrous consequences on the booting of the 
machine. Personally I wouldn't mind a parted option to sort. I would 
always sort myself. But if you used fixed identifiers such as /dev/sda3 
to reference anything in fstab or in Grub, you would have to change that 
after your work is done.

For me the best solution would be a "sort partition table" that every 
user can get used to.

That's all.




More information about the ubuntu-users mailing list