buZz | FatPhil: ah ok | 09:54 |
---|---|---|
lsjet | installed Ascii to flash drive in a thinkpad L450 running Windows 7 (installed on mbr partition and using bios compat to boot). Install completed and rebooted successfully ONCE. After that, I get dumped into a grub-rescue shell with a message about invalid arch-independent ELF magic. Nothing I do to boot from this point onward to try to get grub to boot works. | 14:56 |
fsmithred | did you try booting the install media and going into rescue mode to reinstall the bootloader? | 15:00 |
fsmithred | lsjet, ^^^ | 15:02 |
HumanG33k | do we know when next release occurs ? | 15:03 |
fsmithred | we'll tell you | 15:03 |
lsjet | fsmithred, yes. I can get to rescue mode, but nothing I've tried seems to fix grub. | 15:04 |
r3boot | lsjet: https://askubuntu.com/questions/72003/how-do-i-resolve-a-grub-invalid-arch-independent-elf-magic-error | 15:04 |
r3boot | Tried the steps specified in there already? (eg, install a 64 bit grub efi stub) | 15:04 |
fsmithred | if it's set up to boot bios, does it even have an efi partition? | 15:06 |
lsjet | r3boot, saw that but doesn't seem relevant. There is no efi partition | 15:06 |
r3boot | lsjet: are you using BIOS or EFI boot? | 15:07 |
lsjet | ...and it did successfully boot into the newly installed system at the end of the install. | 15:07 |
fsmithred | with the installation media still plugged in? | 15:08 |
lsjet | It's an efi system, but is using bios compatibility mode - Win7 installed on a mbr partitioned drive (Windows restricts BIOS=MBR, EFI=GPT in a way linux doesn't) | 15:08 |
lsjet | fsmitred, I've tried both with and without the install media...the first successful boot was without it | 15:09 |
fsmithred | ok, just checking. Sometimes grub gets installed to the usb stick. | 15:09 |
fsmithred | (sometime bios and kernel don't agree on which is the first hard drive) | 15:10 |
lsjet | AT first I suspected it was because the drive letters got reordered, but I believe it is something more fundamental now | 15:10 |
lsjet | been pulling my hari out for hours | 15:10 |
lsjet | hair | 15:10 |
lsjet | ha | 15:10 |
fsmithred | hara | 15:11 |
fsmithred | go there | 15:11 |
r3boot | Ok, so how are your partitions organized? | 15:11 |
lsjet | sda has two partitions (windows). sdb has a single partition for devuan (no swap). sdc (when present) is the installer | 15:12 |
lsjet | about as simple as I could get | 15:12 |
fsmithred | install grub to sdb, press F12 at boot and select second drive to boot | 15:12 |
fsmithred | that doesn't really fix it, though | 15:13 |
* lsjet chuckles. Yeah I tried that. | 15:13 | |
lsjet | It wouldn't boot that way | 15:13 |
lsjet | I can't explain that | 15:13 |
lsjet | The bios treats sdb as unbootable even after successfully installing grub to it from a rescue shell | 15:14 |
fsmithred | FWIW, I'm playing with a borrowed T420 and I can only get it to boot when there's a live-CD in the bay | 15:15 |
lsjet | I've done tons of installs for debian and devuan, but it's been a long time since I've done a dual-boot (Windows sucks), but this is for someone else eager to try linux. It's not making a great first impression. :( | 15:15 |
fsmithred | it doesn't necessarily have to boot from the CD, but it has to be there | 15:15 |
lsjet | BIOS bug? | 15:16 |
fsmithred | maybe | 15:16 |
fsmithred | pretty sure it has the original bios from 2011 | 15:16 |
fsmithred | laptop holds two hard drives? | 15:18 |
lsjet | One one hdd. sdb is a usb drive. Honestly now, I'd settle for getting it to be able to boot back into windows. | 15:18 |
fsmithred | I had to make a special grub entry to boot from usb | 15:19 |
fsmithred | set root=(hd1) | 15:19 |
fsmithred | or maybe it was hd0, I forget. they keep switchig | 15:20 |
lsjet | windows is on hd0, yeah I know what you mean | 15:20 |
fsmithred | chainloader +1 | 15:20 |
fsmithred | and it boots from the usb's bootloader | 15:20 |
lsjet | The weird thing is that in the grub rescue shell (on the hdd, not the installer) none of the typical commands for booting seem to work. I can set the root, but chainloader, linux, etc. don't seem to work | 15:21 |
fsmithred | there are some different commands for grub rescue | 15:22 |
fsmithred | set prefix=something | 15:22 |
fsmithred | grub rescue> set prefix=(hd0,1)/boot/grub | 15:23 |
fsmithred | grub rescue> set root=(hd0,1) | 15:23 |
fsmithred | grub rescue> insmod normal | 15:23 |
fsmithred | grub rescue> normal | 15:23 |
fsmithred | I'm pasting from notes. I don | 15:23 |
fsmithred | 't recall if I've ever done this | 15:24 |
fsmithred | grub rescue> insmod linux | 15:24 |
fsmithred | grub rescue> linux /boot/vmlinuz-3.13.0-29-generic root=/dev/sda1 | 15:24 |
fsmithred | grub rescue> initrd /boot/initrd.img-3.13.0-29-generic | 15:24 |
fsmithred | grub rescue> boot | 15:24 |
fsmithred | I would probably boot a live-usb and chroot in to see what's going on | 15:25 |
lsjet | I've done the grub-rescue thing before too. It always seems to be slightly different...either becuase of grub version differences or system differences. *sigh* | 15:29 |
fsmithred | gpt or msdos partition table? | 15:30 |
lsjet | in this case, msdos | 15:30 |
fsmithred | ok, so you don't need a special bios boot partition | 15:30 |
lsjet | right | 15:31 |
lsjet | I think for now I'm going to focus on getting win7 booting again and revisit the devuan install at a later time. Thanks for the help though | 15:31 |
fsmithred | is there some free space (1mb) before sda1? | 15:32 |
lsjet | The owner of the windows install is getting nervous | 15:32 |
lsjet | I don't believe so | 15:32 |
fsmithred | grub needs that | 15:33 |
lsjet | other than what's typical | 15:33 |
lsjet | mbr partitioning typically leaves sufficient space before the first partition starts | 15:33 |
fsmithred | gparted does, I know | 15:33 |
lsjet | I thought you were asking if I had extra blank space for another partition | 15:34 |
fsmithred | make a live-CD for friend, set it to boot into ram | 15:34 |
fsmithred | he won't like that it boots slowly,,but he'll be very impressed witih the running speedd | 15:34 |
fsmithred | after you repair win boot | 15:35 |
lsjet | yeah, I think mixing windows and grub on this system is a bad idea. | 15:35 |
fsmithred | maybe | 15:36 |
fsmithred | I did dual-boot install on a T430 about a month ago, and it all went perfectly | 15:36 |
lsjet | Ok this is weird. I booted a win7 rescue disk - something I've done a hundred times over. And the option to do a startup repair reports no problems and won't fix anything. WTF | 15:36 |
lsjet | but rebooting with no usb drives gives me a broken grub shell, so...WIndows sucks. Did I mention that? | 15:37 |
fsmithred | yeah | 15:37 |
fsmithred | and it wasn't news the first time | 15:37 |
fsmithred | I always wash my hands after running windows | 15:38 |
lsjet | I won't even allow Windows on my home network anymore. | 15:38 |
lsjet | Not even guest wifi | 15:38 |
r3boot | #debianfork ;) | 15:38 |
lsjet | ok, system is booting again. going to install Devuan again but keeping grub on the usb drive this time around. More annoying to boot, less annoying to fix. | 17:14 |
lsjet | if he were booting uefi mode, I'd just use refind. Way easier to deal with than grub. | 17:15 |
specing | lsjet: the least annoying is if your "bios" already has GRUB inside | 17:16 |
lsjet | in that case I'd still rather go with something like uboot (at least on ARM, never tried on x86) I really, really , do not like grub.. | 17:18 |
lsjet | The whole "don't edit this config, let us generate it" approach bugs me too. | 17:19 |
lsjet | *overcomplicated* | 17:19 |
r3boot | you might like syslinux then | 17:20 |
lsjet | I've used it (long time ago), but not recently | 17:20 |
* r3boot uses it for all desktops, except for the openbsd ones | 17:20 | |
r3boot | (but those run arch; I dont know the state of syslinux in devuan) | 17:21 |
lsjet | on uefi systems, I really like refind. It's simple, reliable, and actually looks nice too. | 17:21 |
* r3boot doesnt really care, as long as it works and it boots a kernel :) | 17:21 | |
r3boot | and as long as it's not LILO/MILO, shudder | 17:22 |
lsjet | Haven't touched lilo since the 90's | 17:22 |
r3boot | same, that piece of crap got replaced the moment grub came out, atleast on my boxen :) | 17:25 |
r3boot | and my Alpha boxen all run OpenVMS nowadays, so #care for MILO | 17:25 |
surrounder | still used lilo until a few weeks back when my slackware server died | 17:26 |
surrounder | \m/ | 17:26 |
r3boot | wow | 17:27 |
r3boot | just ... wow | 17:27 |
fsmithred | r3boot, extlinux works in devuan (syslinux on usb) | 17:31 |
fsmithred | lilo works, too | 17:31 |
fsmithred | so I've heard | 17:31 |
r3boot | syslinux is in devuan as well | 17:32 |
fsmithred | everythiing that's in debian except systemd | 17:32 |
r3boot | And that for the distro that advertises init freedom ;+ | 17:32 |
r3boot | okok, I'll quit & move to a hackerspace .o/ | 17:33 |
fsmithred | lol. we're aware of the apparent contradiction | 17:33 |
fsmithred | but "debian without systemd" is the goal | 17:33 |
r3boot | hehehe, no comment, apart from that :) | 17:33 |
fsmithred | so... | 17:33 |
r3boot | I just tought it was a funny situation, and I was making a joke about it | 17:33 |
r3boot | (hence the ;+) | 17:33 |
fsmithred | anyone is free to use "debian with systemd" | 17:33 |
fsmithred | I appreciate the joke | 17:34 |
lsjet | I think of it more as 'freedom from init(systemd)' | 18:03 |
lsjet | systemd has so many subsystems and parts now, it's becoming increasingly difficult to run systemd with anything other than the systemd sanctified tools. | 18:04 |
golinux | Moving this conversation to #debianfork | 18:07 |
Centurion_Dan | whois obeardly | 22:45 |
MinceR | / | 22:57 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!