I used the LiveSlak usb edition. I edited /etc/fstab. Now
/dev/sda8 is swap /dev/sda7 is ntfs-3g to share data between Win10 and -current /dev/sda6 is / /dev/sda5 is /winre ( / was here and displaced with a windows rescue partition) /dev/sda4 is Windows 10 /dev/sda2 is /boot/efi, formatted as vfat Next, I had to fix GRUB2. I looked at several different sources for help and tried a couple different commands, since nothing was working for me. Quote:
Quote:
Quote:
|
Did you regenerate your initrd to have the correct root device? It might be easier to use UUID for that. You can run /usr/share/mkinitrd/mkinitrd_command_generator.sh to give you the output, then you'd change the -r /dev/sda6 to -r "UUID=your-uuid-for-/dev/sda6"
You can find your uuid using lsblk -o +uuid |
This is all wrong
Quote:
Code:
mount /dev/sda6 /mnt With slackware What I usually do is edit the /boot/grub/grub.cfg after running grub_mkconfig to use the vmlinuz-generic/initrd.gz as my first boot entry and add other boot options I deem necessary and don't never run it again. |
Quote:
|
colorpurple21859, I thank you for showing me the correct commands for mounting everything inside of the LiveSlak environment. I was able to update GRUB2. Now it works and I can access the Slackware partition again from the normal GRUB2 boot menu. I used your post and RadicalDreamer's several suggestions to change fstab over to UUID.
I have to still update mkinitrd as suggested, but since I haven't changed my kernel, I guess it's not something that needs to be done right away. I did run the script and redirected output to a text file so I can look at it and see if I have questions. I learned a lot from the help everyone provided in this thread. Thanks to everyone that participated. |
Your welcome
|
Just one additional comment: Probably better to give the full disk to windows and put any other OS onto another one. In this case Windows will not harm anything but itself.
|
Quote:
|
1 Attachment(s)
Quote:
Found ELILO Boot Manager on /dev/sda2@/EFI/elilo.efi/elilo.efi and using the "e" edit option with the SuperGrub disk I get this: Attachment 32976 |
@2damncommon that's interesting. I don't have ELILO. I would have thought GRUB2 and ELILO would be incompatible.
|
All times are GMT -5. The time now is 06:59 PM. |