Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Total sectors not a multiple of sectors per track, Error  installing syslinux to pen drive< Next Oldest | Next Newest >
Z038 Offline

Group: Members
Posts: 16
Joined: Dec. 2004
Posted: Jan. 09 2005,05:20 QUOTE

I got an error like the bolded lines below when trying to install syslinux to my USB pen drive:

dsl@box:~$ sudo su
root@ttyp1[dsl]# ./syslinux -o bootusb-o.8.img /dev/sda1
Total number of sectors not a multiple of sectors per track!
Add mtools_skip_check=1 to your .mtoolsrc file to skip this test

I was unable to get the special parameter to work by adding it to the .mtoolsrc file.  I don't know why.  I put the file in the same directory as the syslinux command, but it didn't seem to make a difference.  I continued to get the same error message.  But simply exporting the parameter worked fine:  

root@ttyp1[dsl]# export MTOOLS_SKIP_CHECK=1

After I did this, the syslinux command completed successfully:  

root@ttyp1[dsl]# ./syslinux -o bootusb-o.8.img /dev/sda1

I haven't heard of anyone else having this problem, so I'm not sure how common it is.  I have a Lexar 256M Jump Drive Pro.  Note that the MTOOLS_SKIP_CHECK setting has to be exported in upper case.  It doesn't work if it's in lower case.  

I just thought I'd mention this in case anyone else encounters it.
Back to top
Profile PM 
goldenratiophi Offline

Group: Members
Posts: 15
Joined: Jan. 2005
Posted: Jan. 10 2005,20:59 QUOTE

I had this problem before.

The solution:  back up your data.  Then run "fdisk /dev/sda" (assuming sda is your flash drive.  Don't do sda1; that's a partition).  Delete (type "d") partition 1.  Now add a new partition (type "n"), then when it asks you if you want a primary or extended partition, type 'p'.  When it asks you for a partition number, type 1.  Just <ENTER> through everything else.  Now type 'a<ENTER>.'  Finally, 't<ENTER>6<ENTER>'.
Back to top
Profile PM 
1 replies since Jan. 09 2005,05:20 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Quick Reply: Total sectors not a multiple of sectors per track

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code