Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Other Distributions > Arch Linux Help
Reload this Page Completly Stuck in a rut!
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Arch Linux Help Help an discussion related to Arch

Reply
 
Thread Tools Display Modes
Old 03-16-2008   #1 (permalink)
HighDensity
Just Joined!
 
HighDensity's Avatar
 
Join Date: Jun 2007
Posts: 52
Completly Stuck in a rut!

Hi all!

I thought i would try my hand at Arch Linux, i have been using Kubuntu now for a few months, but i really dont like half the stuff it gives me, so i figured a light weight distro, and built it up myself right?

Ok so i have Vista on here too, and here's how i set my harddrive up

/dev/sda1 Vista 140gb (got all my uni work on it)
/dev/sda2 ext3
/dev/sda3 swap

ok i set that all up with paragon partition manager on the vista side, thats what i done to install kubuntu.

Now firstly can i just say that Arch Linux has installed fine!

but i can't get to my Vista, firstly it would'nt even show up on Grub, now i have followed some guides and it shows but.....it won't boot.

Secondly, i think i may have installed Grub on the vista partition, and the Arch partition aswell, is this what is messing things up?

I have tried editing the /etc/fstab file to no avail, and quite frankly i am back at uni tomorrow and i need all my work, (need to be able to boot into vista)

I have even tried gparted live cd, but it won't boot into that either? how weird it has always worked before, it gets stuck at the line:-

io scheduler cfq registered

and then no more, no matter what option i choose, and how long i wait.

Basically if you can decifer my manic writing, as i am beyond sane at the point, i have already torn my hair out.

I would just like to be able to boot into my vista partition so i can actually do some work for tomorrow

thanks in advance

ps. please spare me from ppl saying how stupid i am for doing shit like this on my uni laptop, i know....i know.
__________________
Sony Vaio (VGN-CR21S)
Intel Duo (2.0ghz)
2GB DDR2
Kubuntu 7.10 Gusty
HighDensity is offline   Reply With Quote
Old 03-16-2008   #2 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,280
I'd get a copy of the SuperGrub CD before you start playing with the bootloader. You can use this to fix Windows and Linux boot problems.

Once you have the SuperGrub CD you have two ways of going ... (option 1 gives you the best solution but option 2 will give you a short term fix if you need it).

option 1 - try to get grub to load Vista correctly. First step for this is open a terminal and try
Code:
su
fdisk -l
and post the output here ...

if that does not work try
Code:
sudo fdisk -l
in both cases the l is a small L.

Then post the output of
Code:
cat /boot/grub/menu.lst
option 2 - Use the superGrub CD to fix the Windows boot. Once you have got Vista to boot ... you then swap things back using the SuperGrub CD to re-install grub to the MBR. Then continue with option 1 (you will have a bit more confidence that Vista works & you don't need to re-install).
Jonathan183 is offline   Reply With Quote
Old 03-16-2008   #3 (permalink)
HighDensity
Just Joined!
 
HighDensity's Avatar
 
Join Date: Jun 2007
Posts: 52
Thanks, trying you suggestions now
__________________
Sony Vaio (VGN-CR21S)
Intel Duo (2.0ghz)
2GB DDR2
Kubuntu 7.10 Gusty
HighDensity is offline   Reply With Quote
Old 03-16-2008   #4 (permalink)
HighDensity
Just Joined!
 
HighDensity's Avatar
 
Join Date: Jun 2007
Posts: 52
Ok, i have SuperGrub CD, but i still can't get Vista to boot

For a temp fix (although i have tried pretty much everything else) i have hidden sda2, sda3 (swap and ext3) partitions, went into fix windows boot partition, and follow intructions, all seemed to work, but now, when i boot, i get nothing but a blank screen, a little progress as grub is not there, but it's still not loading vista.

After that i tried a slightly different approach, i choose the option "Boot Windows" you select the partition blah blah, and it should boot windows there and then right? well not for me, it puts me into a grub command line, and i'm not sure what i can do there?

Last but not least when i go to fix the windows partition, and it lists operating system your suppose to choose before you installed grub, i can't see Windows? just Syslinux! where's windows and whats Syslinux?

i will just boot into Arch linux now, and give you the information you asked for before to see if that helps.

thanks in advance
__________________
Sony Vaio (VGN-CR21S)
Intel Duo (2.0ghz)
2GB DDR2
Kubuntu 7.10 Gusty
HighDensity is offline   Reply With Quote
Old 03-16-2008   #5 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,280
I expected Supergrub to be able to boot windows. If you only have a single hard disk drive this sounds like a problem with windows ... do you have a windows install disk you can use to fix windows boot?

Now you have the Supergrub CD you can always re-install grub later.
Jonathan183 is offline   Reply With Quote
Old 03-16-2008   #6 (permalink)
HighDensity
Just Joined!
 
HighDensity's Avatar
 
Join Date: Jun 2007
Posts: 52
Quote:
Now you have the Supergrub CD you can always re-install grub later.
Hehe yea!

I am looking for the windows disc now, anyways just incase heres the contents of fdisk

Device Boot Start End Blocks ID System
/dev/sda1 * 1 16859 135418893 7 HPFS/NTFS
/dev/sda2 16948 19458 20164126 83 Linux
/dev/sda3 16860 16947 706860 82 Linux Swap /


and /boot/grub/menu.lst

# (0) Arch Linux
title Arch Linux
root (hd0,1)
kernel /boot/vmlinuz26 root=/dev/sda2 ro
initrd /boot/kernel26.img

# (1) Arch Linux
title Arch Linux Fallback
root (hd0,1)
kernel /boot/vmlinuz26 root=/dev/sda2 ro
initrd /boot/kernel26-fallback.jpg

# (1) Windows
title Vista Ultimate
rootnoverify (hd0,0)
makeactive
chainloader (hd0,0)+1



It all looks normal to me, but i guess i will find out more once i find the bloody vista disc!
__________________
Sony Vaio (VGN-CR21S)
Intel Duo (2.0ghz)
2GB DDR2
Kubuntu 7.10 Gusty
HighDensity is offline   Reply With Quote
Old 03-16-2008   #7 (permalink)
HighDensity
Just Joined!
 
HighDensity's Avatar
 
Join Date: Jun 2007
Posts: 52
oh, one more thing when i press Vista Ultimate on the boot menu, it comes up with the contents of the /boot/grub/menu.lst (windows part)

then says Grub Stage 2.0 then goes back to boot loader?

it seem it can't finds the windows image right?
__________________
Sony Vaio (VGN-CR21S)
Intel Duo (2.0ghz)
2GB DDR2
Kubuntu 7.10 Gusty
HighDensity is offline   Reply With Quote
Old 03-16-2008   #8 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,280
My grub menu is fairly similar but does not have the makeactive entry, I doubt that is the reason why it will not boot ... you can try but installers are usually pretty good at getting these things right.

Ed:at the grub menu press escape, select the windows boot entry, e to edit - then I think you select the makeactive line and press d to delete, followed by entry then b to boot.

My approach would be get windows to boot then re-install grub to the MBR.
Jonathan183 is offline   Reply With Quote
Old 03-17-2008   #9 (permalink)
HighDensity
Just Joined!
 
HighDensity's Avatar
 
Join Date: Jun 2007
Posts: 52
Just thought i'd let you know, it's all sorted now, ready for me to screw up again.

I found the windows disc, and restored the MBR successfully.

Thanks Jonathan183 for all your help,

If anything good has come out of this, i atleast undertsand boot loaders alot better :P

Cheers
__________________
Sony Vaio (VGN-CR21S)
Intel Duo (2.0ghz)
2GB DDR2
Kubuntu 7.10 Gusty
HighDensity is offline   Reply With Quote
Old 03-17-2008   #10 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,280
Good to hear its all working again ... keep hold of the Supergrub CD you may find it comes in handy.
Jonathan183 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 07:40 PM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0