Unfortunately I can't use GPT partitions because the usb stick are created by non-technical users and lots of them are still using xp 32 bits. Thanks 2014-09-26 15:42 GMT-03:00 Alexey Orishko <alexey.orishko at gmail.com>:> On Fri, Sep 26, 2014 at 6:16 PM, Renato <renatoriolino at gmail.com> wrote: > > > > The problem is that sometimes I have another USB stick on the same > computer > > wich has too a valid root device, but I don't want to boot from it, I > want > > to boot from the root device of the USB stick used to boot. > > Use GPT partition on USB stick and your problem is solved without need > to know the name of boot device. > All this comes to stating partuuid in linux kernel boot parameters in > syslinux config file. > By the way, you can get rid of initrd as well. All works fine on my > custom linux build. > > Cheers, > Alexey >
Don Cupp
2014-Sep-29 19:51 UTC
[syslinux] Determine from which device syslinux booted from
Renato,
I don't think it would take that long to make a little script that even an
XP user could use to generate GPT formatted thumb-drives.
I believe someone made the Rufus utility for just such an occasion
Rufus - Create bootable USB drives the easy way
Rufus - Create bootable USB drives the easy way
Rufus Create bootable USB drives the easy way Rufus is a utility that helps
format and create bootable USB flash drives, such as USB keys/pendrives, memory
sticks, ...
View on rufus.akeo.ie Preview by Yahoo
I made a script for linux cli, that does pretty much the same thing. Since
it's CLI though, you could easily edit it to sed the GUID into the syslinux
configs deposited onto the partition.
Doncuppjr/mkgptdrv
Doncuppjr/mkgptdrv
mkgptdrv - Script to wipe a block device and install a gpt with multiple
partitions, plus add syslinux bios and efi files.
View on github.com Preview by Yahoo
Best of luck to you,
Don Cupp
On Monday, September 29, 2014 12:17 PM, Renato <renatoriolino at
gmail.com> wrote:
Unfortunately I can't use GPT partitions because the usb stick are created
by non-technical users and lots of them are still using xp 32 bits.
Thanks
2014-09-26 15:42 GMT-03:00 Alexey Orishko <alexey.orishko at gmail.com>:
> On Fri, Sep 26, 2014 at 6:16 PM, Renato <renatoriolino at gmail.com>
wrote:
> >
> > The problem is that sometimes I have another USB stick on the same
> computer
> > wich has too a valid root device, but I don't want to boot from
it, I
> want
> > to boot from the root device of the USB stick used to boot.
>
> Use GPT partition on USB stick and your problem is solved without need
> to know the name of boot device.
> All this comes to stating partuuid in linux kernel boot parameters in
> syslinux config file.
> By the way, you can get rid of initrd as well. All works fine on my
> custom linux build.
>
> Cheers,
> Alexey
>
_______________________________________________
Syslinux mailing list
Submissions to Syslinux at zytor.com
Unsubscribe
or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Don Cupp
2014-Sep-29 19:53 UTC
[syslinux] Determine from which device syslinux booted from
Just read that Rufus does not supprt GPT in XP, so sorry for the bad advice.
Best
Don Cupp
On Monday, September 29, 2014 12:51 PM, Don Cupp <doncuppjr at yahoo.com>
wrote:
Renato,
I don't think it would take that long to make a little script that even an
XP user could use to generate GPT formatted thumb-drives.
I believe someone made the Rufus utility for just such an occasion
Rufus - Create bootable USB drives the easy way
Rufus - Create bootable USB drives the easy way
Rufus Create bootable USB drives the easy way Rufus is a utility that helps
format and create bootable USB flash drives, such as USB keys/pendrives, memory
sticks, ...
View on rufus.akeo.ie Preview by Yahoo
I made a script for linux cli, that does pretty much the same thing. Since
it's CLI though, you could easily edit it to sed the GUID into the syslinux
configs deposited onto the partition.
Doncuppjr/mkgptdrv
Doncuppjr/mkgptdrv
mkgptdrv - Script to wipe a block device and install a gpt with multiple
partitions, plus add syslinux bios and efi files.
View on github.com Preview by Yahoo
Best of luck to you,
Don Cupp
On Monday, September 29, 2014 12:17 PM, Renato <renatoriolino at
gmail.com> wrote:
Unfortunately I can't use GPT partitions because the usb stick are created
by non-technical users and lots of them are still using xp 32 bits.
Thanks
2014-09-26 15:42 GMT-03:00 Alexey Orishko <alexey.orishko at gmail.com>:
> On Fri, Sep 26, 2014 at 6:16 PM, Renato <renatoriolino at gmail.com>
wrote:
> >
> > The problem is that sometimes I have another USB stick on the same
> computer
> > wich has too a valid root device, but I don't want to boot from
it, I
> want
> > to
boot from the root device of the USB stick used to
boot.>
> Use GPT partition on USB stick and your problem is solved without need
> to know the name of boot device.
> All this comes to stating partuuid in linux kernel boot parameters in
> syslinux config file.
> By the way, you can get rid of initrd as well. All works fine on my
> custom linux build.
>
> Cheers,
> Alexey
>
_______________________________________________
Syslinux mailing list
Submissions to Syslinux at zytor.com
Unsubscribe
or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Mattias Schlenker
2014-Sep-29 20:03 UTC
[syslinux] Determine from which device syslinux booted from
Am 29.09.2014 um 21:51 schrieb Don Cupp:> Renato, > > I don't think it would take that long to make a little script that even an XP user could use to generate GPT formatted thumb-drives.Win32DiskImage rulez. :-D Bonus: No more geometry problems on old BIOSes. Just create a nice GPT formatted image with a cool protective MBR. This can even expose the first partition via traditional MBR to XP while all other partitions are hidden as unknown data partition... Yours, Mattias -- Mattias Schlenker - Redaktion + EDV-Beratung + Linux-CD/DVD-Konzepte August-Bebel-Str. 74 - 04275 LEIPZIG - GERMANY Telefon (VoIP "ueberall"), geschaeftlich: +49 341 39290767 Telefon (Festnetz), privat und Fax: +49 341 30393578 Mobil: +49 163 6953657 Mobil (SIM in Testgeraeten): +49 1578 3499550 Bitte fuer geschaeftliche Telefonate vorzugsweise die VoIP-Telefonnummer +49 341 39290767 verwenden, da ich diese aufs Mobiltelefon routen kann.