[syslinux] Determine from which device syslinux booted from

Don Cupp doncuppjr at yahoo.com
Mon Sep 29 12:53:49 PDT 2014


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


More information about the Syslinux mailing list