SOLVED: linux usb key recognized in window 10
- francois
- Contributor
- Posts: 6499
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
SOLVED: linux usb key recognized in window 10
How to format and setup porteus on a linux usb key that will boot and be recognized in window 10? The key is 30 gig.
Prendre son temps, profiter de celui qui passe.
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
linux usb key that will boot and be recognized in window 10
Format it as FAT32 and:
Follow the directions here: http://www.porteus.org/tutorials/37-ins ... -v-10.html.
Or review the USB_INSTALLATION.txt file in the ISO.
Or follow the steps here: Re: UEFI problem (Post by brokenman #47862)
If the Windows system has UEFI you must disable the Secure Boot option.
Follow the directions here: http://www.porteus.org/tutorials/37-ins ... -v-10.html.
Or review the USB_INSTALLATION.txt file in the ISO.
Or follow the steps here: Re: UEFI problem (Post by brokenman #47862)
If the Windows system has UEFI you must disable the Secure Boot option.
- francois
- Contributor
- Posts: 6499
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
linux usb key that will boot and be recognized in window 10
In fact, I would like 3 partitions optimizes for read and write wear:
1) fat32 2 to 5 Gig
2) ext2 12 gig porteus and the like
3) ext2 12 gig other linux
4) swap 2 gig
Unless, other type of linux partitition would perform better. I need fat32 to put a few files to be read by windows. The rest of the time I will be functioning linuxwise.
I would like the exact size of the partitions so to limit the wear of the usb key.
The key would boot or syslinux or grub2.
I will be really happy to disable secure boot option. If there is not much inconvenient.
Thanks.
1) fat32 2 to 5 Gig
2) ext2 12 gig porteus and the like
3) ext2 12 gig other linux
4) swap 2 gig
Unless, other type of linux partitition would perform better. I need fat32 to put a few files to be read by windows. The rest of the time I will be functioning linuxwise.
I would like the exact size of the partitions so to limit the wear of the usb key.
The key would boot or syslinux or grub2.
I will be really happy to disable secure boot option. If there is not much inconvenient.
Thanks.
Prendre son temps, profiter de celui qui passe.
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
linux usb key that will boot and be recognized in window 10
IMO With a modern computer I don't think you need a swap partition. 8GB should be adequate for your FAT32 partition plus Porteus and its associated modules. The rest you can allocate to whatever you want. If you need to change things at some point in the future use GParted.
This might also interest you: UEFI Boot Confusion [Solved]
This might also interest you: UEFI Boot Confusion [Solved]
- francois
- Contributor
- Posts: 6499
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
linux usb key that will boot and be recognized in window 10
optimal partitioning:
https://community.spiceworks.com/topic/ ... -usb-stick
https://superuser.com/questions/379074/ ... ose-consid
ext4, ext2, noatime in fstab
https://community.spiceworks.com/topic/ ... -usb-stick
https://superuser.com/questions/379074/ ... ose-consid
ext4, ext2, noatime in fstab
Prendre son temps, profiter de celui qui passe.
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
linux usb key that will boot and be recognized in window 10
Many opinions. Good luck. 

- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
linux usb key that will boot and be recognized in window 10
BTW The only writing Porteus does to my flash drive is when I create, or download, a module and save it and when I exit Porteus cause I use the changes=EXIT cheatcode. So wear leveling is not a concern. And should the flash drive wear out I'll just buy another one, they're not that expensive now days. 

- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
linux usb key that will boot and be recognized in window 10
You should partition exactly as you have shown above. Put the FAT32 partition first and windows will see it. It will not use the other ext partitions.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- francois
- Contributor
- Posts: 6499
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
linux usb key that will boot and be recognized in window 10
@brokenman:
Bonjour, très content de te revoir et de te savoir en bonne santé.
1) Would having porteus on the second partition a good option. I do not want to have to deal with fat32 dat container.
2) I would like to boot with the UUID partition identification. Here is an extract of my porteus.cfg, which fails at bootup:
from=UUID:34103e53-f26a-4d02-8a9a-c6cb0915ab53/64bit_v31
seems to have the wrong syntax.
Bonjour, très content de te revoir et de te savoir en bonne santé.
1) Would having porteus on the second partition a good option. I do not want to have to deal with fat32 dat container.
2) I would like to boot with the UUID partition identification. Here is an extract of my porteus.cfg, which fails at bootup:
Code: Select all
LABEL GRAPHICAL
MENU LABEL Graphics mode
KERNEL /boot/syslinux/vmlinuz
INITRD /boot/syslinux/initrd.xz
APPEND from=UUID:34103e53-f26a-4d02-8a9a-c6cb0915ab53/64bit_v31 changes=/64bit_v31/porteus
TEXT HELP
Run Porteus the best way we can.
Try to autoconfigure graphics
card and use the maximum
allowed resolution
ENDTEXT
seems to have the wrong syntax.

Prendre son temps, profiter de celui qui passe.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
linux usb key that will boot and be recognized in window 10
Here is a config that works for me.
LABEL GRAPHICAL
MENU LABEL Graphics mode
KERNEL /boot/syslinux/vmlinuz
INITRD /boot/syslinux/intel-ucode.cpio,/boot/syslinux/initrd.xz
APPEND from=/mnt/sda2/port-current load=xfce4
On /mnt/sda1 I have a FAT32 partition with the EFI and boot folder.
On /mnt/sda2 I have operating systems on ext2
/mnt/sda2/port-current/porteus/base/{001-core.xzm,002-xorg.xzm}
So, can you try with a from=/mnt command first. If it fails please explain in more detail how it fails.
LABEL GRAPHICAL
MENU LABEL Graphics mode
KERNEL /boot/syslinux/vmlinuz
INITRD /boot/syslinux/intel-ucode.cpio,/boot/syslinux/initrd.xz
APPEND from=/mnt/sda2/port-current load=xfce4
On /mnt/sda1 I have a FAT32 partition with the EFI and boot folder.
On /mnt/sda2 I have operating systems on ext2
/mnt/sda2/port-current/porteus/base/{001-core.xzm,002-xorg.xzm}
So, can you try with a from=/mnt command first. If it fails please explain in more detail how it fails.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- Blaze
- DEV Team
- Posts: 3996
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
linux usb key that will boot and be recognized in window 10

Ok, I found example screenshot where used GPT (UEFI) with installed Windows - /dev/sda[1-3] partitions.
/dev/sda4 for DATA (NTFS partition)
/dev/sda5 (SWAP - in modern times as such it is not needed)
/dev/sda[6-7] (ext4 or better ext2 can be as partition for Porteus)
Question. Can I install GRUB2 to /dev/sda1 for dual boot Windows and Porteus? In my option Windows installed on sda3, and Porteus installed on sdb1.
For example, for MBR I install GRUB like this grub2 menu entry (Post by Blaze #59969)
How it will looks for UEFI (I mean command for install GRUB2 in UEFI mode and how must looks grub.cfg for Porteus and Windows for dual boot in UEFI mode)?
Code: Select all
grub-install --efi-directory=??? --boot-directory=??? --bootloader-id=??? --target=x86_64-efi
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
linux usb key that will boot and be recognized in window 10
Blaze install Grub2Win on the Windows system. It will install an EFI module on sda1 and grub2 on sda3. The grub2/grub.cfg can boot systems from any partition or device.
Some people have copied their sda1 EFI folder and sda3 grub2 folder to their sdb1 drive and booted successfully on EFI systems.
Some people have copied their sda1 EFI folder and sda3 grub2 folder to their sdb1 drive and booted successfully on EFI systems.

- francois
- Contributor
- Posts: 6499
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
linux usb key that will boot and be recognized in window 10
How do I get that done?
Thanks.
Prendre son temps, profiter de celui qui passe.
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
linux usb key that will boot and be recognized in window 10
francois,

The folders referenced are in the Porteus ISO. Dbl clicking on the ISO should open it in a file manager for you to drag the folders from.USB_INSTALLATION.txt wrote:Porteus can be installed to a flash drive or hard
drive in several ways.
FOR EFI SYSTEMS:
Ensure the first partition is of type FAT32.
a) Copy the EFI, boot and porteus folders onto the FAT32 partition.
You may create a second partition with a linux filesystem for the porteus folder.
If you do so, you need to add the from=/mnt/sdb2 cheatcode to the porteus-v4.0-x86_64.cfg file.
This file is located in the porteus folder.

- Blaze
- DEV Team
- Posts: 3996
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
linux usb key that will boot and be recognized in window 10
Ed_P, this variant not for me 

Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16