You are not logged in.

#1 2009-05-04 17:56:18

itsme1
Member
Registered: 2009-05-04
Posts: 27

Grub help please

Well, I'm new to arch. I have it installed on a partition, and windows on another. I installed Grub first, then windows, and of course windows has to be dumb and kill Grub. So now I'm stuck with windows and that is no good.

I visited this wiki http://wiki.archlinux.org/index.php/Reinstalling_GRUB to try and solve my problems, but in the end it just confused me.
I'm looking for help getting Grub up and Running. The output of "fdisk -l" shows me that /dev/sda1 is my linux partition, sda2 is my swap, and sda3 is windows xp.

Any help is appreciated, I'm looking forward to using Arch again.:lol:

Offline

#2 2009-05-04 18:09:00

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: Grub help please

which part of the wiki article are you having trouble with exactly?  It seems like a pretty step by step guide.  Just use the install cd to chroot into your existing partition after mounting the various partitions.  Then running grub-install should fix it?

Offline

#3 2009-05-04 18:11:33

itsme1
Member
Registered: 2009-05-04
Posts: 27

Re: Grub help please

cd /
# If you are using a pre-0.7.1 CD, sda1 will be /dev/discs/disc0/part1
mount -t ext3   /dev/sda1 /mnt
mount -t proc   proc      /mnt/proc
mount -t sysfs  sys       /mnt/sys
mount -o bind   /dev      /mnt/dev
 
chroot /mnt /bin/bash

This part. Do I just type it in exactly like that or do I need to change things to fit my computer better?

Offline

#4 2009-05-04 18:15:45

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: Grub help please

i think you shouldn't have to change it seeing as your linux partition is also in /dev/sda1.  You might have to change the ext3 if you used a different filesystem type though.

Last edited by evr (2009-05-04 18:16:36)

Offline

#5 2009-05-04 19:26:54

itsme1
Member
Registered: 2009-05-04
Posts: 27

Re: Grub help please

I can't remember what I used? How do I find out?

Offline

#6 2009-05-04 19:34:18

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: Grub help please

um, i know cfdisk shows you the filesystem type, but i would assume you just made it ext3 if you don't remember making it specifically something else. You could just try mounting it and see if it works.

Offline

#7 2009-05-04 20:40:34

itsme1
Member
Registered: 2009-05-04
Posts: 27

Re: Grub help please

Ok, Arch is up and running

Now I can't access windows... I added it to the menu.1st but it doesn't seem to work. Help?
E: When I edit the menu.1st file the only thing there is the windows thing. It doesn't show the boot info for arch

Last edited by itsme1 (2009-05-04 20:45:02)

Offline

#8 2009-05-04 20:43:24

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: Grub help please

what happens when you try to access windows?  Posting your menu.lst might help too.

Offline

#9 2009-05-04 20:49:52

itsme1
Member
Registered: 2009-05-04
Posts: 27

Re: Grub help please

WEll I discovered I was editing the menu.1st file not the menu."L"st file. I'm such a noob. And when I boot up my computer and it comes to Grub, windows isn't an available option even though I edited the correct file this time.

Offline

#10 2009-05-04 20:49:59

rusty99
Member
Registered: 2009-03-18
Posts: 253

Re: Grub help please

# (2) Windows
title Windows
rootnoverify (hd0,2)
makeactive
chainloader +1

Should be all you need for the windows entry.

Offline

#11 2009-05-04 20:57:28

itsme1
Member
Registered: 2009-05-04
Posts: 27

Re: Grub help please

Ok, I got windows up and running too now. One more question. I have LXDE installed on ARCH. And being a linux noob I don't really get how to use it? How do I make ARCh boot in LXDE and not the terminal? How do I even start LXDE?

Offline

#12 2009-05-04 21:00:41

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: Grub help please

the wiki is your friend.

Offline

Board footer

Powered by FluxBB