You are not logged in.
Hi, first I had a setup with /home, /root (filesystem), swap and Grub. Then, I thought I would try Gnome (I were using KDEmod), and decided to install a second Arch system, so KDE and Gnome wouldn't conflict too much. However in GParted, I couldn't create more partitions that I already had, so I deleted Grub, cause I though the new system would install Grub anyway. Well, now I got Arch with Gnome installed, but I have problems too boot my previous KDEmod install (root and /home). Here's fdisk:
Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005953d
Device Boot Start End Blocks Id System
/dev/sda1 * 8232 12161 31567725 83 Linux #Arch Gnome (including /root, /home and grub)
/dev/sda2 6 38 265072+ 82 Linux swap / Solaris #swap
/dev/sda3 39 1058 8193150 83 Linux #/root (filesystem)
/dev/sda4 1059 8231 57617122+ 83 Linux #/home, KDEmod
If you haven't guessed already, the boot folder on sda3 is empty because I deleted its partition for Arch Gnome.. So I simply want to add sda3 to my grub menu and let it use sda4 as its home partition. Please help!
menu.lst (sda1):
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/hda (hd0)
# /dev/hdb2 (hd1,1)
# /dev/hda3 (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
# +-------------------------------------------------+
# 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 /boot/vmlinuz26 root=/dev/sda1 ro
initrd /boot/kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,0)
kernel /boot/vmlinuz26 root=/dev/sda1 ro
initrd /boot/kernel26-fallback.img
Last edited by Ub1476 (2008-03-10 22:25:44)
Offline
so I deleted Grub...
...the boot folder on sda3 is empty
I think this is pretty much the reason why it's not working. I'm not sure if I understand correctly what you mean by 'deleted Grub', but i'm guessing you must be talking about the /boot partition, which is an absolute requirement for booting linux. Is this the case?
flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)
Offline
Yes, I deleted the boot partition belonging to sd3.
Offline
This article might help, and from there i'm sure there's a way to install the kernel again (as the kernel resides in the /boot directory that was deleted). Not an area i've dabbled in before though.
At the least, you'll be able to get into your old install and copy over any files you need to save.
Last edited by dyscoria (2008-03-10 23:22:16)
flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)
Offline
Thanks, I'll try it out later. I suppose this: to fix grub: grub-install /dev/sda, can be changed to sda3 instead (so grub is not exasperated from root)?
Offline
Hmm thing is, there isn't a kernel for grub to boot. But yes, that would be one stage in fixing your KDEmod partitions. I'm sure someone else with a bit more experience can step in here, as this is past my expertise, sorry. I don't want to bork your system (after I borked mine not much more than a day ago).
flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)
Offline
grub-install /dev/sda is no mistake. All that command means is install grub on the master boot record of /dev/sda.
however for that command to work you will have to replace /boot/grub/menu.ls and have it configured correctly. You should note that you will have to put an entry for each distro in the one file.
You can reinstall your kernel from a chrooted environment with pacman -S kernel26 just make sure everything is mounted properly and fstab, mkinitcpio are correct. It would make more sense to do this before fixing grub because grub may complain.
Last edited by jargoman (2008-03-13 17:27:46)
Offline