Announcement

Collapse
No announcement yet.

REVISITING - More BTRFS fun Multibooting to subvolumes - FIXING GRUB

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • steve7233
    replied
    Never mind the wifi problem. I already found the fix on the Ubuntu forums.There is a bug in Lubuntu17.04.

    Leave a comment:


  • oshunluvr
    replied
    Originally posted by steve7233 View Post
    Maybe that happened.

    Can I use my @Kubuntu17.04 with Lbuntu 17.04 or would that not work with different windows managers?
    You can yes, often though - it's not advised. Sometimes where running vastly different distros you could potentially run into incompatibilities. The file manager would not be an issue at all.

    As long as you're using Kubunutu 17.04 and Lubuntu 17.04 or any other *buntu based distros and they're on 17.04, I doubt you'll have any issues at all.

    To do this - following post number 1, you can simply edit the fstab using the same home subvolume in every distro. I would be easier because you wouldn't have to rename all the @home subvolumes.
    Last edited by oshunluvr; Sep 29, 2017, 11:49 AM.

    Leave a comment:


  • steve7233
    replied
    I meant my kubuntu1704_home.

    Leave a comment:


  • steve7233
    replied
    Originally posted by vinnywright View Post
    if you clicked "go advanced" to see the post then posted it ,,,,,,,,,without scrolling down and unchecking "disable smilies in text" ,,,,,,,this would happen

    VINNY
    Maybe that happened.

    Can I use my @Kubuntu17.04 with Lbuntu 17.04 or would that not work with different windows managers?

    Leave a comment:


  • vinnywright
    replied
    Originally posted by steve7233 View Post
    Probably an Internet glitch then.
    if you clicked "go advanced" to see the post then posted it ,,,,,,,,,without scrolling down and unchecking "disable smilies in text" ,,,,,,,this would happen

    VINNY

    Leave a comment:


  • steve7233
    replied
    Originally posted by GreyGeek View Post
    Four emotes -
    Probably an Internet glitch then. The Internet has been glitchy since it began back in the 70's. I know since I predate the Mini computers. When I was born they still used vacuum tubs because the transistor had been invented just a few years prior to my entrance into the mortal world. I was 7 when I read my first computer book. It was about core ring memory. Not lite reading for a 7 y/o! Of course the grey one probably got to work with literal debugging. To bad electricity and a can of raid don't mix!
    Last edited by steve7233; Sep 28, 2017, 09:05 PM.

    Leave a comment:


  • GreyGeek
    replied
    Four emotes -

    Leave a comment:


  • steve7233
    replied
    The emoit codes arn't working properly.

    Leave a comment:


  • steve7233
    replied
    Thanks but I just found it. I should have re-read because he says where it is in the first paragraph of post #1.

    Leave a comment:


  • GreyGeek
    replied
    Originally posted by steve7233 View Post
    Where is this 40_custom file as I can not find it?
    /etc/grub.d/40_custom

    Note: locate is your friend. In a Konsole locate 40_cus would have immediately given what I show above.

    Leave a comment:


  • steve7233
    replied
    Where is this 40_custom file as I can not find it?

    Leave a comment:


  • oshunluvr
    replied
    Originally posted by steve7233 View Post
    Couldn't I just install the other distro without grub then boot into Kubuntu17.04 then run grub-update?
    Go back and read the original article: grub, or more correctly, os-prober, will not find other installs because it can't read inside unmounted subvolumes. That was basically the reason for this entire thread.

    Short version: Install a new distro, then edit the 40_custom file as I explained. Then, after updating grub, you will be able to select either install from grub.

    You can test/practice this using your current setup. Edit your 40_custom file in your current install and add your original subvolume "@" . Something like this:

    Code:
    menuentry 'Original 17.04 install' { 
       insmod part_gpt 
       insmod btrfs 
       search --no-floppy --fs-uuid --set=root [COLOR=#333333]27a9a212-d177-4665-b6bc-bf304e8c1f3e[/COLOR] 
       configfile /@/boot/grub/grub.cfg 
    }

    Leave a comment:


  • steve7233
    replied
    Originally posted by vinnywright View Post
    I do not recall ever seeing your subvolume names been shown to us/everyone in any konsole output .

    glad you got it sorted however ,,,welcome to the wonderful world of btrfs

    and all the headaches yet to come ,,,,,,,,

    hears one for you now ,,,,,a headache that is .

    for your next install ,,,,do it without grub .

    you can use something like this placed in the current install that controls grub now , in /etc/grub.d/40_custom to boot it.

    Code:
    menuentry 'Neon-lts' {
    insmod btrfs
    set root='(hd0,msdos1)'
    linux /@/vmlinuz root=UUID=ff5d66d4-35b6-4c9c-a64e-8dfbe2aa1e31 rootflags=subvol=@ ro quiet splash
    initrd /@/initrd.img
    }
    of course the (hd0,msdos1) would need to be changed if you are using a GPT partition table , and the UUID would need to be the UUID of your btrfs partition but their is the concept for booting an install without it's own grub install .

    aspirin anyone

    VINNY
    Couldn't I just install the other distro without grub then boot into Kubuntu17.04 then run grub-update?

    Leave a comment:


  • GreyGeek
    replied
    Congrats steve72233 !!!
    Welcome to the Btrfs club!




    Sent from my iPhone using Tapatalk

    Leave a comment:


  • vinnywright
    replied
    Originally posted by steve7233 View Post
    grub.cfg had a couple of typos that everyone kept overlooking. Uppercase K when lower was used in the sub volume name.
    I do not recall ever seeing your subvolume names been shown to us/everyone in any konsole output .

    glad you got it sorted however ,,,welcome to the wonderful world of btrfs

    and all the headaches yet to come ,,,,,,,,

    hears one for you now ,,,,,a headache that is .

    for your next install ,,,,do it without grub .

    you can use something like this placed in the current install that controls grub now , in /etc/grub.d/40_custom to boot it.

    Code:
    menuentry 'Neon-lts' {
    insmod btrfs
    set root='(hd0,msdos1)'
    linux /@/vmlinuz root=UUID=ff5d66d4-35b6-4c9c-a64e-8dfbe2aa1e31 rootflags=subvol=@ ro quiet splash
    initrd /@/initrd.img
    }
    of course the (hd0,msdos1) would need to be changed if you are using a GPT partition table , and the UUID would need to be the UUID of your btrfs partition but their is the concept for booting an install without it's own grub install .

    aspirin anyone

    VINNY

    Leave a comment:

Working...
X