You are not logged in.
Help!!
For some stupid reason, I just deleted everything in /boot
The partition is still there unchanged, just without the necessary files! Is there a way i can regenerate these files please?
Thanks in advance
Last edited by ninjaprawn (2009-12-31 12:15:24)
2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound
Offline
I think you can do this as root:
mkdir /boot/grub
cp /usr/lib/grub/i386-pc/* /boot/grub/
vim /boot/grub/menu.lst
pacman -S kernel26
Last edited by lolilolicon (2009-12-30 14:33:50)
This silver ladybug at line 28...
Offline
I think you can do this as root:
mkdir /boot/grub cp /usr/lib/grub/i386-pc/* /boot/grub/ vim /boot/grub/menu.lst pacman -S kernel26
thanks for the response. When i did vim /boot/grub/menu.lst i just got a blank page. is that right?
2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound
Offline
Yeah, that's right.
vim is an editor you know? You'd better type :q! to exit vim first, if haven't learnt how to use vim.
By the vim line, I mean you need to edit /boot/grub/menu.lst properly, with your favorite editor.
To learn about menu.lst, read this: http://wiki.archlinux.org/index.php/GRUB, and there is a menu.lst example in there too.
(But if you have a backup of menu.lst, then you can just copy it to /boot/grub/menu.lst)
Last edited by lolilolicon (2009-12-30 14:53:06)
This silver ladybug at line 28...
Offline
brilliant, thanks a lot!
2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound
Offline
ok, i tried to boot arch back up again, but it doesn't work. I get the grub command and am stuck there. I think my menu.lst isn't quite right
# 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
# http://wiki.archlinux.org/index.php/GRUB#Framebuffer_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 [/boot/vmlinuz26]
root (hd0,1)
kernel /vmlinuz26 root=/dev/sda3 ro vga=773
initrd /kernel26.img
any ideas? thanks
2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound
Offline
sorry, ignore that
I ran setup (hd0,1) and that fixed it. thanks again lolilolicon
2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound
Offline
Glad to know you fixed it
This silver ladybug at line 28...
Offline