Open minzak opened 5 years ago
The original mkconfig uses DEVICE. I needed to use LABEL, because I connect different devices, but using same label.
On Mon, May 13, 2019 at 4:24 AM Olexandr Minzak notifications@github.com wrote:
If drive has bad label - it is no boot.
How about made with DEVICE, not LABEL? Here we can see all targets - https://www.gnu.org/software/grub/manual/grub/html_node/Invoking-grub_002dprobe.html
and use /dev/sda1 - is the best way.
for example made worked like this: grub-probe --target=drive --device /dev/sda1
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/azuer88/grub-mkconfig_lib-patch/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEXAE6S6YW7OZUTZIDURPTPVB4IRANCNFSM4HMLFF7Q .
--
The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...".
I f you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime. - Anonymous
If writing good code requires very little comments, then writing really excellent code requires no comments at all!- Ken Thompson
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook
The original mkconfig uses DEVICE.
No, by default use UUID, and i got error during boot "not found device <UUID)> Press any...."
And i even use in grub this option "GRUB_DISABLE_LINUX_UUID=true" But in grub.cfg i see like this:
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 2080bb0b-8161-48b3-ae64-a66338daa0ec
else
Just fully not understand how to correctly use not UUID, Because in my case even LABEL not works! I have message "not found device <LABEL)> Press any...." I guess with DEVICE like /dev/... i eliminate my issues.
My bad. You are correct.
Look at the output of sudo blkid
and use the LABEL= value.
On Tue, May 14, 2019 at 4:59 PM Olexandr Minzak notifications@github.com wrote:
The original mkconfig uses DEVICE.
No, by default use UUID, and i got error during boot "not found device <UUID)> Press any...."
And i even use in grub this option "GRUB_DISABLE_LINUX_UUID=true" But in grub.cfg i see like this:
if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root 2080bb0b-8161-48b3-ae64-a66338daa0ec else
Just fully not understand how to correctly use not UUID, Because in my case even LABEL not works! I have message "not found device <LABEL)> Press any...." I guess with DEVICE like /dev/... i eliminate my issues.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/azuer88/grub-mkconfig_lib-patch/issues/1?email_source=notifications&email_token=AAEXAE3PVORI7FXZ6J7EJBLPVJ5QLA5CNFSM4HMLFF72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVK2F4Y#issuecomment-492151539, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEXAEY5UD45UYM73IEQMNTPVJ5QLANCNFSM4HMLFF7Q .
--
The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...".
I f you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime. - Anonymous
If writing good code requires very little comments, then writing really excellent code requires no comments at all!- Ken Thompson
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook
If drive has bad label - it is no boot.
I think it because UUID is not equal to PARTUUID.
How about made with DEVICE, not LABEL? Here we can see all targets - https://www.gnu.org/software/grub/manual/grub/html_node/Invoking-grub_002dprobe.html
and use /dev/sda1 - is the best way.
for example made worked like this: grub-probe --target=drive --device /dev/sda1