Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Debian alongside YUMI (different partitions)
Debian alongside YUMI (different partitions)
I have a USB stick that has a capacity of 30560 MiB. I would like to create a 13312 MiB ext4 partition and install Debian on it, and a 17248 MiB NTFS partition with YUMI on it.
What's the best way to do that, and make both partitions work smoothly with GRUB?
What's the best way to do that, and make both partitions work smoothly with GRUB?
Re: Debian alongside YUMI (different partitions)
you can use any tool you want to do that.
i'd use gparted.
for all intents and purposes, your usb stick is just another hard drive.
i'd use gparted.
for all intents and purposes, your usb stick is just another hard drive.
Re: Debian alongside YUMI (different partitions)
The problem is when I format it with GParted, Windows doesn't recognize the NTFS partition, and neither does YUMI.debiman wrote:you can use any tool you want to do that.
i'd use gparted.
for all intents and purposes, your usb stick is just another hard drive.
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Debian alongside YUMI (different partitions)
IIRC, Windows can use only the first partition on a USB stick. So the NTFS partition should be #1.
Also, be aware that a standard installation on ext4 may wear out a USB stick much faster than "normal" use as quasi-static data storage.
Also, be aware that a standard installation on ext4 may wear out a USB stick much faster than "normal" use as quasi-static data storage.
Re: Debian alongside YUMI (different partitions)
Wow, have they really not fixed that yet? I haven't used it since ver 2k/xp and it always bugged me that I could not use my fat32 or other extra partitions.p.H wrote:IIRC, Windows can use only the first partition on a USB stick. So the NTFS partition should be #1.
So the question is about partitioning? Or is it about bootloaders? or is it about os and filesystems? I never used yumi, but it sounds like the setup would be yumi's bootloader loading iso's from an ntfs partition? Where does debian/grub fit in?
resigned by AI ChatGPT
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Debian alongside YUMI (different partitions)
I actually have not checked with a "recent" Windows.bw123 wrote:Wow, have they really not fixed that yet?
Maybe the setup would be GRUB as the primary bootloader booting Debian and chainloading YUMI's bootloader.bw123 wrote:it sounds like the setup would be yumi's bootloader loading iso's from an ntfs partition? Where does debian/grub fit in?
Re: Debian alongside YUMI (different partitions)
You're right. It worked when I created the NTFS partition before the ext4 partition.p.H wrote:IIRC, Windows can use only the first partition on a USB stick. So the NTFS partition should be #1.
Well, now that I have Debian installed on one partition and YUMI on the other, I would like to add an option in the GRUB menu to boot YUMI's bootloader.bw123 wrote:So the question is about partitioning? Or is it about bootloaders? or is it about os and filesystems? I never used yumi, but it sounds like the setup would be yumi's bootloader loading iso's from an ntfs partition? Where does debian/grub fit in?
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Debian alongside YUMI (different partitions)
Can you describe what you did ?
I assume :
- create an NTFS partition and install YUMI on it
- create an ext4 partition and install Debian on it
- install GRUB in the stick's MBR or in the ext4 partition's PBR ?
Is it a BIOS/legacy or UEFI/EFI setup ?
Does os-prober detect YUMI's boot loader ?
If it does not, could you generate a report with bootinfoscript (from the boot-info-script package) ?
I assume :
- create an NTFS partition and install YUMI on it
- create an ext4 partition and install Debian on it
- install GRUB in the stick's MBR or in the ext4 partition's PBR ?
Is it a BIOS/legacy or UEFI/EFI setup ?
Does os-prober detect YUMI's boot loader ?
If it does not, could you generate a report with bootinfoscript (from the boot-info-script package) ?
Re: Debian alongside YUMI (different partitions)
- Yes.p.H wrote:Can you describe what you did ?
I assume :
- create an NTFS partition and install YUMI on it
- create an ext4 partition and install Debian on it
- install GRUB in the stick's MBR or in the ext4 partition's PBR ?
Is it a BIOS/legacy or UEFI/EFI setup ?
Does os-prober detect YUMI's boot loader ?
If it does not, could you generate a report with bootinfoscript (from the boot-info-script package) ?
- Yes.
- Stick's MBR.
It's BIOS/legacy.
No.
https://pastebin.com/raw/8J5DcwAU
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Debian alongside YUMI (different partitions)
It appears that the bootloader on the NTFS partition is syslinux.
You can try to add the following entry in a file saved as /boot/grub/custom.cfg :
You can try to add the following entry in a file saved as /boot/grub/custom.cfg :
Code: Select all
menuentry 'YUMI on USB stick' --class os $menuentry_id_option 'yumi-5FF62A2F1582B4F6' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 5FF62A2F1582B4F6
else
search --no-floppy --fs-uuid --set=root 5FF62A2F1582B4F6
fi
chainloader +1
}
Re: Debian alongside YUMI (different partitions)
Wow, it worked! That's awesome.
How did you figure it out?
The only problem now is Debian doesn't run very good. I'm using a Lexar P20 through USB 3.0 - I thought it would be fast enough with this stick, but it's a bit sluggish.
How did you figure it out?
The only problem now is Debian doesn't run very good. I'm using a Lexar P20 through USB 3.0 - I thought it would be fast enough with this stick, but it's a bit sluggish.
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Debian alongside YUMI (different partitions)
Your information + my knowledge = a solutionTrendle wrote:How did you figure it out?
Maybe ext4 is not optimized for USB sticks. "Flash friendly" filesystems such as F2FS or NILFS may offer better performance. Unfortunately they are not supported by the Debian installer, so if you want to test them you'll have to move the system by hand and do the necessary adjustments, or install with debootstrap.Trendle wrote:The only problem now is Debian doesn't run very good. I'm using a Lexar P20 through USB 3.0 - I thought it would be fast enough with this stick, but it's a bit sluggish.
Re: Debian alongside YUMI (different partitions)
Sounds good to me.p.H wrote:How did you figure it out?
Your information + my knowledge = a solution
Alright, I'll do some reading on that tomorrow. Thanks!p.H wrote:Maybe ext4 is not optimized for USB sticks. "Flash friendly" filesystems such as F2FS or NILFS may offer better performance. Unfortunately they are not supported by the Debian installer, so if you want to test them you'll have to move the system by hand and do the necessary adjustments, or install with debootstrap.