Formating FAT32, but linux created FAT32 is not like win created FAT32?? Difference?
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.
PBR - Partition Boot Record (Second Stage Bootloader)
Thank you, I just looked it up.
I am about to go offline for a while.
If you fail to make progress, please consider sending the LQ user Saikee a (polite) "Private Message" asking him to take a look at this thread, when he has the time (you would, of course, give him the link to it!).
He is awesome when it comes to multi-boot, grub, grub2 and "chainloading". And I think he also boots win (which I don't, so my grub is relatively simple to set up).
Good luck, I'll follow up this thread when I get back.
Here is the log:
1st I formated with win, booted ubuntu,installed 1. syslinux 2. grub2, extracted mbr&pbr (WIN-x), formated with mkfs.vfat, and again installed syslinux&grub2, then extracted again mbr&pbr (LINUX-x)
Code:
#~$ sudo umount /dev/sdb1
#~$ sudo ./syslinux/linux/syslinux /dev/sdb1
#~$ sudo mkdir /media/test
#~$ sudo mount /dev/sdb1 /media/test
#~$ sudo grub-install --no-floppy --root-directory=/media/test /dev/sdb
Installation finished. No error reported.
#~$ sudo dd if=/dev/sdb of=/media/500gbUSB/test2/WIN-grub2-backup.mbr bs=512 count=1
1+0 Datensätze ein
1+0 Datensätze aus
512 Bytes (512 B) kopiert, 0,000202121 s, 2,5 MB/s
#~$ sudo dd if=/dev/sdb1 of=/media/500gbUSB/test2/WIN-sysliux-backup.pbr bs=512 count=1
1+0 Datensätze ein
1+0 Datensätze aus
512 Bytes (512 B) kopiert, 0,00017593 s, 2,9 MB/s
#~$ sudo umount /dev/sdb1
#~$ sudo rm -R /media/test
#~$ sudo mkfs.vfat -n 8GBMSDHC /dev/sdb1
mkfs.vfat 3.0.7 (24 Dec 2009)
#~$ sudo ./syslinux/linux/syslinux /dev/sdb1#~$ sudo mkdir /media/test#~$ sudo mount /dev/sdb1 /media/test#~$ sudo grub-install --no-floppy --root-directory=/media/test /dev/sdb
Installation finished. No error reported.
#~$ sudo dd if=/dev/sdb of=/media/500gbUSB/test2/LINUX-grub2-backup.mbr bs=512 count=1
1+0 Datensätze ein
1+0 Datensätze aus
512 Bytes (512 B) kopiert, 0,000151416 s, 3,4 MB/s
#~$ sudo dd if=/dev/sdb1 of=/media/500gbUSB/test2/LINUX-sysliux-backup.pbr bs=512 count=1
1+0 Datensätze ein
1+0 Datensätze aus
512 Bytes (512 B) kopiert, 0,000212108 s, 2,4 MB/s
I uploaded extracted pbrs and mbrs here (if you want to compare them)
HASHCODES
We can see on hash codes that mbr is completly the same, so it could be syslinux related (pbr is not the same). Here are the dump files and you can see that PBR is completly different (as long as I see only from begin until "FAT32 "
thanks for advices, I'll contact him. I still hope to solve it by myself. It's just anoying to have script which does everything, except formating. I want to avoid need for commercial software (ms) to create multiboot usb.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.