Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I tried installing grub4dos with the dd command.
I followed your instructions.
It didn't work.
The dd command ran fine but When I boot from
the mp3 player I get a blank screen.
So I tried it again on a regular pendrive
and it worked just fine.
Do tou have any other ideas ?
And another thing,
why did you write "bs=440" in the dd command ?
Isn't it supposed to be "512", which is the size of the mbr ?
Sorry to hear that didn't work. As I noted back in post #12, your MP3 player uses a different geometry (32 heads/cylinder, 52 sectors/track) than the linux standard of 255 heads/cylinder, 63 sectors/track, and even though that in itself should not be a problem, I think about the only thing I can suggest would be to use gparted to reformat the MP3 player drive and set up a FAT16 partition with standard linux rules; that might help. I would only do that if you don't plan on using that MP3 player for listening to music again, because it might be that setting up a different partition geometry will make it so the MP3 Player won't see the partition correctly. But even if that were to happen, I think you will always be able to use the MP3 player for storing files at least, like a standard thumb drive.
Quote:
Originally Posted by babypeng
And another thing,
why did you write "bs=440" in the dd command ?
Isn't it supposed to be "512", which is the size of the mbr ?
I'm glad you decided to use "440" and not "512", because if you had used 512, you would have erased the partition table on that drive. It turns out that the MBR contains not only the boot code to boot the drive, but bytes 447-512 in the MBR contain the drive's partition table. Also, there is a 4 byte "disk signature" that comes before the partition table, so to preserve the disk signature and the partition table, the MBR boot code generally goes from bytes 1-440. Theoretically the boot code in the MBR could also use the bytes used by the disk signature, but that can wreak havoc with an OS like Windows Vista since it uses that disk signature. Fortunately, most boot loaders in the MBR never use more than the first 440 bytes so it's not an issue.
You're welcome, it was an interesting experiment to see if you could get your mp3 to boot with Grub. But I definitely think you will have better luck with a thumb drive.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.