Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1044  / 2 Years ago, sun, may 22, 2022, 8:42:58

I am trying to do this ,like the title says.
I have retrieved the 2 necessary files and placed them in /boot
Then I rebooted, went into Grub2



Now however, i am not getting grub to recognise the paths. Or else I am doing something really wrong:
As I said, I have booted into Grub2, having previously placed both files inside /boot
So, the syntax for me in steps 2 and 3 should be:



linux /boot/linux


and



initrd /boot/initrd.gz. 


But I am getting 'No such partition'



I am missing something obvious.. but what?



Help, as always, would be appreciated



Cheers


More From » boot

 Answers
2

Check your root correctly. Either look in your /boot/grub/grub.cfg for the first line which starts with set root=. E.g:



set root='(hd0,msdos5)'


Or use uuid look up:



search --no-floppy --fs-uuid --set=root YOUR_PARTITIONS_UUID_HERE

[#27927] Sunday, May 22, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fulild

Total Points: 239
Total Questions: 103
Total Answers: 112

Location: Papua New Guinea
Member since Thu, Jul 9, 2020
4 Years ago
;