You are not logged in.
Pages: 1
Yeah, yeah. I know, This topic has been discussed extensively already, but I am pretty dense.
Alright, so I installed Arch on this PC a few years back, I only now heard about the switch to systemd and was going to spend the night doing that. I completed my system update--always a fun process and checked the wiki article. Somehow or another, I found an article about Grub2, and ran the command "sudo pacman -S grub-bios". Well, as luck would have it, my PC turned off right then, meaning I was left without a boot sector. I have no idea how to remedy this situation (I don't even know where to begine, frankly).
What I have done:
I hopped on ubuntu and tried to port it's bootloader to Arch. That didn't work.
Here is my menu.lst:
"# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/sda (hd0)
# /dev/sdb2 (hd1,1)
# /dev/sda3 (hd0,2)
#
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# for more details and different resolutions see
# https://wiki.archlinux.org/index.php/GR … resolution
# general configuration:
timeout 5
default 0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
# (0) Arch Linux
title Arch Linux
root (hd0,0)
kernel /vmlinuz-linux root=/dev/disk/by-uuid/b32db7b2-0990-4b10-8945-f64edef2f07f ro
initrd /initramfs-linux.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,0)
kernel /vmlinuz-linux root=/dev/disk/by-uuid/b32db7b2-0990-4b10-8945-f64edef2f07f ro
initrd /initramfs-linux-fallback.img
# (2) Windows
title Windows Seven
rootnoverify (hd0,0)
makeactive
chainloader +1"
It hangs on this line:
root (hd0,0)
kernel /vmlinuz-linux root=/dev/disk/by-uuid/b32db7b2-0990-4b10-8945-f64edef2f07f ro
+++
grub-install provides the following error on ubuntu:
sudo grub-install --recheck /dev/sdb1
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
I tried mounting it to a /mnt and thenrunning the command, which provided the same error
+++
I found I could use syslinux to boot into the drive (via a secondary harddrive).
Last edited by Leios (2012-11-22 15:18:53)
Youtube: https://www.youtube.com/user/LeiosOS
Twitch: http://www.twitch.tv/simuleios
Offline
Pages: 1