Change Sector Size from 2048 to 512 for syslinux installing ?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Change Sector Size from 2048 to 512 for syslinux installing ?
Dear Forumer,
I tried to install syslinux to my pendrive but note me to sector size is not 512b.
How can i change my sector size from 2048 to 512b for install syslinux on it?
I never heard of that. I just run install it to whatever flash I have and when it fails it fails for other reasons.
HP had one of the best tools to fix stubborn flash drives. There was a flip bit program that might fix a few others. But you don't need to change the geometry of the drive. Pretty hard to do also.
root@bt:~# parted /dev/sdb
Warning: Device /dev/sdb has a logical sector size of 2048. Not all parts of GNU Parted support this at the moment, and the working code is HIGHLY EXPERIMENTAL.
GNU Parted 2.2
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: SONY WALKMAN (scsi)
Disk /dev/sdb: 3974MB
Sector size (logical/physical): 2048B/2048B
Partition Table: msdos
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 12749 102297600 7 HPFS/NTFS
/dev/sda3 12749 117284 839680000 7 HPFS/NTFS
Partition 3 does not end on cylinder boundary.
/dev/sda4 117284 121602 34678785 5 Extended
/dev/sda5 117284 120931 29295616 83 Linux
/dev/sda6 120932 121602 5382144 82 Linux swap / Solaris
Note: sector size is 2048 (not 512)
With 0,1 anything is possible ...
I think that like this link http://www.syslinux....ary/007870.html i must changed sector size in syslinux source !!
can anyone help me to change sector size in syslinux source from 512 to 2048 ??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.