Page 1 of 1

[SOLVED] Install LinuxBBQ without GRUB

Posted: Sat Jan 02, 2016 1:44 pm
by eat64sgs
Hi,

on my machine I use several OS.

How can I install LinuxBBQ without installing GRUB - I would use the existing GRRUB

What install command I have to use to do this?

Thank you for an answer.

Best regard and a happy new year

eat64sgs

Re: Install LinuxBBQ without GRUB

Posted: Sat Jan 02, 2016 1:52 pm
by machinebacon
Hello, welcome to the grill!

yes you can. "sudo bbqinstaller" and in the menu labelled "GRUB" (must be the forth screen) , where it asks you for the location of the GRUB bootloader, simply enter nothing. It should be working. No warranty though!

I hope fellow griller "pidsley" chimes in shortly, he always skips GRUB installation, as far as I remember, so his answer will be the 100% definite one ;)

Re: Install LinuxBBQ without GRUB

Posted: Sat Jan 02, 2016 2:10 pm
by GekkoP
^ I skipped the GRUB installation too more than a couple of times. What I did was entering nothing like MB said, and then update GRUB from the OS in the "main" partition (i.e.: sudo update-grub2).

Re: Install LinuxBBQ without GRUB

Posted: Sat Jan 02, 2016 2:36 pm
by machinebacon
/moved to SUPPORT

Re: Install LinuxBBQ without GRUB

Posted: Sat Jan 02, 2016 2:39 pm
by dkeg
^ yep as GP says, I have skipped the Grub installation with no issues. But installing also does not cause issues either, so you can do either. Installing it will make the fresh install the default in your grub menu. That can be undone as also stated.
Good Luck

Re: Install LinuxBBQ without GRUB

Posted: Sat Jan 02, 2016 3:35 pm
by eat64sgs
Thank you for answers.

I will try it.

Best regards

eat64sgs

Re: Install LinuxBBQ without GRUB

Posted: Sat Jan 02, 2016 4:31 pm
by pidsley
The bbqinstaller script says this:

Code: Select all

dialog --backtitle "LinuxBBQ Installer" --title "GRUB" --inputbox "

 Where would you like the GRUB bootloader to be installed?
 (probably a drive, like /dev/sda) 
 
 If you do not want to install the bootloader, leave this blank:" 0 0 2>"${INPUT}"
So leave it blank :) This works (tested again this morning.)

Once installed, "update-grub" from your existing install should pick up the new install (if you have os-prober enabled.)

Personally, I don't use os-prober. It can take a very long time to run if you have multiple installs, and it sometimes misses some obscure distros. So I disable it:

Code: Select all

sudo chmod -x /etc/grub.d/30_os-prober
Then I add a stanza for the new install to /etc/grub.d/40_custom. This is all you need:

Code: Select all

menuentry 'LinuxBBQ Ceramic (sda18)' {
	set root='hd0,msdos18'
	linux /vmlinuz root=/dev/sda18 ro 
	initrd /initrd.img
}
(adjust the partition number as necessary, of course) Then run update-grub to add the new entry to grub.cfg. If you are in a hurry, you can add this directly to grub.cfg, but it will be lost the next time you (or an upgrade) runs update-grub, and directly editing grub.cfg is usually a bad idea (you can easily break something.)

This also doesn't account for multiple kernels in an install. /vmlinuz and /initrd.img are symlinks that point to the most recently installed kernel -- you can either add additional entries for extra kernels, or adjust the symlinks when you want to boot a different kernel.

And finally, if an install doesn't have an initramfs, you can use an even simpler grub stanza:

Code: Select all

menuentry "test system on sda2" {
        linux (hd0,msdos2)/kernel root=/dev/sda2 ro   
}
Where "/kernel" is a symlink pointing to the actual kernel.

tl:dr -- leave it blank.

Re: Install LinuxBBQ without GRUB

Posted: Sun Jan 03, 2016 11:09 am
by eat64sgs
OK - LinuxBBQ is installed and I can boot it from my other system.

Now I have to add another user and some packages and configure my new system.

For doing this I think I will need sometimes more help.

Where can I find more information for administration and configuration?
On the home web site of LinuxBBQ I can't find a link to support forum.

Thank you for more help.

eat64sgs

Re: Install LinuxBBQ without GRUB

Posted: Sun Jan 03, 2016 12:06 pm
by wuxmedia
http://linuxbbq.org/bbs/viewtopic.php?f=19&t=2074

Is a good walkthrough. you don't really need the actual "Academy" spin, as the linux underneath is similar.

To find support on the forum, from the home page (the old school looking page) go to the FORUMS link, then on the main forum page you should see:
SUPPORT (/usr/share/doc)
go in there and you should be able to make support topics.

please use the Search function (ie "wifi doesn't work Broadcom" , to see if you issue has come up before. if not, then post.

Re: Install LinuxBBQ without GRUB

Posted: Sun Jan 03, 2016 12:51 pm
by eat64sgs
OK - old school.

I will see.

Thank you for your answer..

Re: Install LinuxBBQ without GRUB

Posted: Sun Jan 03, 2016 2:09 pm
by machinebacon
1) log in as "root" with password "root"
2) change root password using "passwd root"
3) add new user with "adduser USERNAME"
4) enter "exit"
5) log in with your new user and password

that's the old-school Linux method ;) what wuxmedia has linked above does work to 98% on all other spins than "Academy", just skip the window-manager specific steps.