Jump to content











Photo
- - - - -

How to change the volume label of a USB drive using grub4dos


  • Please log in to reply
1 reply to this topic

#1 Macgomes

Macgomes
  • Banned
  • 2 posts
  •  
    United States

Posted 22 June 2019 - 06:56 AM

Hello everyone,,

 

I came across the need to have a grub4dos multiboot USB Flash drive that needs to have different volume labels for different OS's. When I boot one ISO, the volume label of the flash drive needs to be OODIPRO for O&O DiskImage ISO booting, but some other ISOs require a different, or at least known, label - e.g. Trinity Rescue and Fedora.
It would be nice if grub4dos could change the volume label of the boot device (e.g. USB Flash drive or HDD).
Here is one idea on how to do it but I would like to hear of any other ideas?.....
 
 
P.S. Every time I edit this post - it fouls up and I lose all the content !!!


#2 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 22 June 2019 - 08:08 AM

Is this SPAM?

Why have you copied the exact text from here:

https://www.rmprepus...sb-volume-label

 

which tells you how to patch the volume label?

 

It would be easier to avoid the problem.

 

1. Use the partnew method of booting from a linux ISO - this writes a new partition entry onto the USB drive which points to the ISO file.

 

OR

 

2. Change the grub4dos menu so that the Volume Label is the same as the USB drive volume label

 

e.g. Fedora typically uses LABEL=

menuentry 'Install Fedora 20' --class fedora --class gnu-linux --class gnu --class os {
linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora\x2020\x20x86_64 quiet
initrdefi /images/pxeboot/initrd.img
}

so use an equivalent menu in grub4dos-speak but change the label.

 

OR

 

3. Just use Easy2Boot!  

 

 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users