You are not logged in.
Pages: 1
I tried using the Rescatux CD again!
It said "GRUB was installed!" in happy, soothing green. So I rebooted and, lo, my fellow Crunchbangians, I beheld the wonder of:

"GRUB" cascading infinitely down the screen!
#! Cat, I admire your faith. Forgive me, I could not resist the temptations it offered.
I'm starting to think this is a "What a beautiful opportunity to start over!" kinda situation.
I haven't the foggiest idear how I got it to boot in EFI-mode. I am not sure that is even what I did, honestly. Information about how a computer boots seems to be hardware-specific & is (relatively) obscure. Furthermore, a setup like this is not aboundingly common & I hear conflicting stories all the time.
UPDATE: It is worse now.
For the past week or so, I've been booting into Crunchbang by entering the commands in the GRUB rescue shell I gave above. I figured that was OK until I figured out exactly what was wrong.
However, tonight I log in and there is not even a GRUB rescue shell, just the word GRUB followed by a blinking underscore. (I solemnly swear I didn't touch nothing!)
I read the post from AdamW's blog #! Cat linked to above. But I couldn't really see how the context & clarity AdamW provides helps w/ my problem.
I am going to try a NVRAM reset & see if anything changes.
::sad clown::
I changed the type of the CRUNCHBANG partition itself. Before posting, I considered the possibility that, when I was using fdisk, I had given the wrong "Partition id value" to the header "Partition Inspector.app" & this post were referring to as if it were a MBR.
When I changed the type of the CRUNCHBANG partition to "BIOS boot partition" using gdisk, nothing of the situation seemed to change...
That is to say: I restart the MacBook, rEFInd boot manager starts up GRUB when I tell it to, but the GRUB bootloader says "filesystem type unknown!", so I tell GRUB to set presumably the filesystem root to (hd0,gpt5)/, to set something called a prefix to the location of the GRUB directory on gpt5, and finally to boot this "normal," GRUB then loads the Linux kernel on the CRUNCHBANG partition, and, joy!, there's my Crunchbang, safe & sound, w/ seemingly all my stuff in it, only its normal relationship to GRUB, whatever that relationship may be, has been disturbed.
Yeah, #! Cat, I got you wanted me to create a new partition, but there was no partition there before, and I did not understand why I would now need a partition previously unneeded? or if added if it would jive w/ what was there? :-(
Lemme look more at this delightful & thorough post #! Cat links to from AdamW, try to understand, see what's what.
Thank you so!
Thanks you two!
I have just now tried using gdisk's t option to "change a partition's type code".
I changed it to a BIOS boot partition using the type code "EF02" #! Cat pointed me to.
I then rebooted. Sadly, I was again given the grub rescue prompt and entered the commands from the UbuntuForum above in the shell.
I am a little worried about following the instructions given by the links in Head_on_a_stick's edits, because I really do not think I was ever using EFI booting to get into Crunchbang itself. EFI would boot the MacBook, but then from rEFIt I would then boot Crunchbang with GRUB. (If these things belong to different categories, please excuse me.)
The computer would boot using EFI, in some sense through Mac OS X or something Apple has in the EFI Boot Partition in /dev/sda1. It looks like this:
$ sudo mkdir /boot/efi
mkdir: created directory `/boot/efi'
$ mount /dev/sda1 /boot/efi
$ cd /boot/efi/EFI/APPLE/EXTENSIONS/
$ ls
Firmware.scap
$ file Firmware.scap
Firmware.scap: data
$ stat Firmware.scap
File: `Firmware.scap'
Size: 15729264 Blocks: 30722 IO Block: 512 regular file
Device: 801h/2049d Inode: 23 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2014-10-18 15:41:03.000000000 -0400
Modify: 2014-10-18 15:06:18.000000000 -0400
Change: 2014-01-03 15:24:22.830000000 -0500
Birth: -I do not think I ever had anything else in /dev/sda1 successfully.
I would see the rEFIt menu. I would choose Linux from the menu. Finally, the Grub menu would load. I would then select "boot Crunchbang 64 bit" (or something very similar).
I have never been able to use this GRUB menu to, say, boot Mac OS X or Windows. Even though it would give them as options, GRUB could not actually be used to boot these OSes, only Crunchbang.
I'm pretty sure I have clear memories of installing GRUB to the same partition I installed Linux on, and am fairly certain I never installed an EFI GRUB.
I was never clear why I did it this way, because I made the decision intuitively and after trying to install to "/dev/sda" failed repeatedly.
I am sorry I do not have more precise language for this. Please let me know if there's any information I can get that may make the situation clearer.
(Also, is there any longer form writing on these topics that explain each layer at play here thoroughly?)
Hello All,
I am having trouble getting Crunchbang to boot properly on a MacBook Pro that HAD been triple-booting Mac OS X, Windows & Crunchbang until...
Last night I upgraded from Mac OS X 10.9 Mavericks to Mac OS X 10.10 Yosemite. The installer made a "Mac OS X recovery partition" which pushed Linux off the MBR. (I had previously deleted this Mac OS X recovery partition because of issues w/ it pushing Linux off the MBR, but the upgrade recreated it.)
*** Report for internal hard disk ***
Current GPT partition table:
# Start LBA End LBA Type
1 40 409639 EFI System (FAT)
2 409640 975829215 Mac OS X HFS+
3 975829216 977098751 Mac OS X Boot
4 977098752 1399937023 Basic Data
5 1399937024 1842909183 Basic Data
6 1842909184 1847005183 Linux Swap
Current MBR partition table:
# A Start LBA End LBA Type
1 1 409639 ee EFI Protective
2 409640 975829215 af Mac OS X HFS+
3 975829216 977098751 ab Mac OS X Boot
4 * 977098752 1399937023 07 NTFS/HPFSI solved this by, from Mac OS X, manipulating the MBR using fdisk, thus making the MBR look like this:
Current MBR partition table:
# A Start LBA End LBA Type
1 1 409639 ee EFI Protective
2 409640 975829215 af Mac OS X HFS+
3 977098752 1399937023 87 NTFS volume set
4 1399937024 1842909183 83 LinuxUsing a program called rEFInd, I can now choose to "boot Linux from [partition called] CRUNCHBANG", but when I do, I see:
Welcome to Grub!
Error: unknown filesystem
Entering rescue mode
grub> I am able to boot into Crunchbang by entering the commands I found on Ubuntuforums into the grub rescue shell. In my case, these commands look like:
grub> set root=(hd0,gpt5)
grub> set prefix=(hd0,gpt5)/boot/grub
grub> insmod normal
grub> normalAnd now I am in Crunchbang.
The problem is I do not want to have to enter those commands into the grub shell every time I want to boot Crunchbang.
When I try to "reinstall grub", using those commands from Ubuntu Forums, I see this:
$ sudo update-grub
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/grub-splash-crunchbang.png
Found linux image: /boot/vmlinuz-3.2.0-4-amd64
Found initrd image: /boot/initrd.img-3.2.0-4-amd64
Found Windows 8 (loader) on /dev/sda4
done
$ sudo grub-install /dev/sda
/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-setup: error: will not proceed with blocklists.I am not sure I know what this could mean, but, having also tried Rescatux & seen similar errors w/ restoring Grub in these ways, I think part of it is when I install Linux on a MacBook I never install Grub to the primary disk in the way the installer recommends. I think I choose to install Grub only to the CRUNCHBANG partition instead, I do not remember exactly why I do it this way, but I think I remember I do not install Grub to /dev/sda but to whatever partition Linux is actually on.
I will also note I had to switch from rEFIt to rEFInd in order to stop the MacBook from booting directly into Mac OS X after the Yosemite upgrade, but I doubt that this matters very much.
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.