Grub won't install in Bass[solved]

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
pottzie
Cam Whore
Posts: 91
Joined: Fri May 24, 2013 3:51 am

Grub won't install in Bass[solved]

Unread post by pottzie » Fri Nov 15, 2013 11:45 pm

Just tried to install Bass on a new hard drive. Gparted made me make (If I remember what Gparted called it..) a partition table before it would format the hard drive. Did that, made an ext4 partition and a swap.

Installed Bass, it gets to the end of the installation and tries to install grub. Grub exits with an error, says to see /var/log/bbqinstaller_error.log. When I check that, I see three /usr/sbin/grub-bios-setup lines. First line says "Warning Filesystem 'ext2' doesn't support embedding." Second line "Warning. Embedding is not possible. Grub can only b$." The dollar sign is all that shows on the end of that line. Third line "error. Will not proceed with blocklist."

I just made the whole hard drive sda1, and swap sda2, and that's all I have. Don't know if the problem is with me or the installer. Tried it three times, same result each time.
Last edited by pottzie on Sat Nov 16, 2013 4:03 am, edited 1 time in total.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Grub won't install in Bass

Unread post by machinebacon » Sat Nov 16, 2013 1:41 am

So you set up a drive:
/dev/sda1 is /
/dev/sda2 is /swap (and we don't care about it now, because the installer asks for a swap FILE, not for a swap partition)

You start the installer
you enter /dev/sda "where to place the grub"
ignore the question about /home
you enter /dev/sda1 "where to install the system to"
ignore all other questions
Then confirm the installation

Have a try, it does work. I am sure you try to build the swapfile into /dev/sda2, and this is not what it is meant to be. We mount the /swap partition later, manually, in your system's /etc/fstab.
..gnutella..

pottzie
Cam Whore
Posts: 91
Joined: Fri May 24, 2013 3:51 am

Re: Grub won't install in Bass

Unread post by pottzie » Sat Nov 16, 2013 3:02 am

Nope, just installed it again as you said and it exited with the same error on grub. The first time I installed, I'd spaced out even needing a swap file, thought maybe that's why it was throwing the error. I don't think I ever specified where the swap partition was, although you're right about it saying file and not partition. The only other things I selected were to use the UUIwhatever file thingy and no encryption.

ew.linux
Riesenpenis
Posts: 30
Joined: Sun Nov 11, 2012 12:56 am

Re: Grub won't install in Bass

Unread post by ew.linux » Sat Nov 16, 2013 3:19 am

That`s usually the error message I get when I install grub to partition instead of the mbr of the disk.
-ew
-------------------------------
...the Linux philosophy is "laugh in the face of danger". Oops. Wrong one. "Do it yourself". That's it. (by Linus)

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Grub won't install in Bass

Unread post by machinebacon » Sat Nov 16, 2013 3:24 am

Right.

/dev/sda <- drive (used for mbr/grub)
/dev/sda1 <- partition (used for OS)
/dev/sdb <- probably the media you boot from

Can you verify that /dev/sda is indeed the drive you want to install to?
The installer asks you to "show what drives are detected" right at the start.
You can also just issue "sudo blkid -o list" or "sudo fdisk -l" from command line.


On a side note: if you wait a few days, you get an upgraded Bass base to start with. Probably around Wednesday it should be up.
..gnutella..

pottzie
Cam Whore
Posts: 91
Joined: Fri May 24, 2013 3:51 am

Re: Grub won't install in Bass

Unread post by pottzie » Sat Nov 16, 2013 3:42 am

Thanks for the heads-up, I'll probably just wait. And yeah, I keep giving it /dev/sda to install to, so that's probably what's happening.

Just dug out a Bloat cd. I'll play with it and see what hapens.

EDIT> Just installed Bloat, no problem. Took about 15 minutes, doing DU now. I forgot that Bloat has a GUI installer, and when it tried to find any partitions, the hard drive was blank again; don't know how that happened, as I'd made the partitions before redoing the install. Fixed it with Gparted on Bloat, and it was off to the races.

Solved. Thanks.

Post Reply