Need to know what hard drive sector Trisquel starts the install

8 respostas [Última entrada]
Cal
Cal
Desconectado
Joined: 03/17/2013

As the SSD hard drives need to have the operating system start on an even number sector of the hard drive (preferably 1024 or 2048) - I would like to know the sector number a new install would start with in Trisquel.

Thank you,

Cal

lembas
Desconectado
Joined: 05/13/2010

I don't know what the default is but it really doesn't matter.

Probably the easiest way is to partition manually. If the installer isn't smart enough for the job, use http://gparted.org/livecd.php (GNU GPL 2+)

Darksoul71
Desconectado
Joined: 01/04/2012

Cal,

why on Earth would one need such informations ?
In general every operating system writes the MBR (master boot record) to the first 512 Byte of a harddisk. Then the rest (boot partition, boot manager) follows.

For reference:
https://wiki.archlinux.org/index.php/Master_Boot_Record
http://kb.iu.edu/data/aijw.html

HTH,
Holger

Michał Masłowski

I am a member!

I am a translator!

Desconectado
Joined: 05/15/2010

There is an embedding space for the bootloader after MBR and before the first partition. The issue is where the partition starts, DOS prefers a start not aligned to 4096 bytes. Manual partitioning certainly works for it, I don't know what default is there now.

Cal
Cal
Desconectado
Joined: 03/17/2013

Thank you for the info Michal. Is there a way, (as in Windows using diskpart in a Windows command box) in Trisquel to find what the starting sector on the hard drive is - if not, then by partitioning manually is the only certain way?

Regards to all who've responded -

Cal

lembas
Desconectado
Joined: 05/13/2010

sudo fdisk -l -u=sectors

Cal
Cal
Desconectado
Joined: 03/17/2013

Thank you very much Lembas! That is what I needed! :\

----------------------------------------------------------------

I'm getting that the -1 is not recognized

Ahh - my mistake that is a l for list, correct? I was inserting wrong.

lembas
Desconectado
Joined: 05/13/2010

>Ahh - my mistake that is a l for list, correct? I was inserting wrong.

That's right. :)

GustavoCM

I am a member!

Desconectado
Joined: 11/20/2012

That's why: http://www.rodsbooks.com/gdisk/advice.html#alignment

Also, I always recommend people to use GPT instead of (common) MBR, because of more flexibility (you can get rid of logical/extended partitions!) and reliability (CRC32 embed... or sth. like that). See: http://www.rodsbooks.com/gdisk/whatsgpt.html .