LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-19-2008, 01:57 PM   #1
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 260

Rep: Reputation: 29
how do I install Arch Linux when I already have Ubuntu installed


ok I originally made a post here http://www.linuxquestions.org/questi...tition-643088/ called "is-it-possible-to-install-arch-without-burning" but after reading the how to on that subject I decided that it would probably be easier just to burn the ARCH ISO and just reboot then install it from there . the problem is it doesn't show ( or I cannot see) the partitions that where made by my Ubuntu hardy install when I installed Ubuntu Hardy I made the swap, and then a 10 gig partition then I installed hardy onto the largest partition ( which was what was left on my hard drive) I wanted to install Arch on a partition ( 10 GIGs) but like I said I don't see that option when I boot from the Arch cd. I tryed to go into the Arch forums but the forum wouldn't show anything so I did a search "install" and of course it showed allot of post about installing various things onto Arch . I guess my setup on these forums isn't set up properly for me just to browse the Arch forums. anyway how do I find the 10 gig partition so I cam install arch on it?
 
Old 05-19-2008, 02:10 PM   #2
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 72
The Arch Wiki is very helpful, especially the Beginner's Guide:
http://wiki.archlinux.org/index.php/Beginners_Guide
 
Old 05-19-2008, 02:13 PM   #3
czarr
Member
 
Registered: Apr 2008
Distribution: Arch
Posts: 36

Rep: Reputation: 15
You will find this guide to be extreamly helpful if you've never installed arch before: http://wiki.archlinux.org/index.php/Beginners_Guide
Arch uses a text based installer which can seem daunting if you're new to linux. On the contrary however, the installation process is very straight forward and i had no trouble my first time!
One of the first things you'll do (as mentioned in the above guide) is run fdisk to determine which partition you'll be installing to. You'll put your root directory on the 10 gig empty partition and you can share swap space with ubuntu since they won't be running simultaneously.
 
Old 05-19-2008, 02:45 PM   #4
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 260

Original Poster
Rep: Reputation: 29
Thank you for your replys I will check out the wiki
 
Old 05-19-2008, 04:41 PM   #5
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 260

Original Poster
Rep: Reputation: 29
ok I looked and read also printed out the manual but I cannot install the Arch OS onto my hard drive unless I delete Ubuntu ( so it seems) I tryied to use both option 2 and then option 3 ( expert mode) in option 3 it doesn't show any partitions at all and option two (express) just freezes the cd I downloaded and burned is the newest version Archlinux 0.8 Voodoo
 
Old 05-19-2008, 06:16 PM   #6
czarr
Member
 
Registered: Apr 2008
Distribution: Arch
Posts: 36

Rep: Reputation: 15
Quote:
Originally Posted by Shadowmeph View Post
ok I looked and read also printed out the manual but I cannot install the Arch OS onto my hard drive unless I delete Ubuntu ( so it seems) I tryied to use both option 2 and then option 3 ( expert mode) in option 3 it doesn't show any partitions at all and option two (express) just freezes the cd I downloaded and burned is the newest version Archlinux 0.8 Voodoo
when you boot up into the archlinux.iso you should get a terminal. start the setup /arch/install (i think) skip to step 2 which should be somthing like setting mount points and then it will ask you which to use for swap and then which to use for '/'. set your empty 10gb partition to use for /.
If arch won't install onto an empty partition then theres no reason to believe that it will install onto an entirely empty hd. partitions are independant of one another.

You don't mention at which point it freezes. If it is truly freezing than perhaps you need to reburn the .iso but it would be easier to figure out where your going wrong if you tell us at what point its freezing.
 
Old 05-19-2008, 07:09 PM   #7
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 260

Original Poster
Rep: Reputation: 29
ok when I boot from the disk I get the sellect language I do that then it goes to setup 1st option is automatic which will over write every thing , the second option is express if I try express it leaves the setup then it shows a page tophalf is black screen with some writing saying "installer exited ( then under that it says) installer failed exited. if I try and press any keys it will go to a sh-3# which you cannot writing into because it just comes up with garbled stuff then freezes or appears to freeze even if I leave it for 4-5 mins.
Now if reboot from the cd I go through the select language the expert mode the screen changes and then shows me hard drive which shows the dev/sda something, there are no other partitions if I click on that one I get "critical error during ped_disk_new"
 
Old 05-19-2008, 09:11 PM   #8
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 72
Don't use the Voodoo install disc, it is horribly old, and it isn't even the newest on the site, 2007.08-2 is, but that one still isn't the best. The 2008.04rc is the recommended install disc.

Most of the FTP mirrors have it:
ftp://ftp.ibiblio.org/pub/linux/dist...so/2008.04-rc/
 
Old 05-19-2008, 11:34 PM   #9
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 260

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by elliott678 View Post
Don't use the Voodoo install disc, it is horribly old, and it isn't even the newest on the site, 2007.08-2 is, but that one still isn't the best. The 2008.04rc is the recommended install disc.

Most of the FTP mirrors have it:
ftp://ftp.ibiblio.org/pub/linux/dist...so/2008.04-rc/
Thank you I will try that
 
Old 05-20-2008, 12:29 PM   #10
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 260

Original Poster
Rep: Reputation: 29
I tried the cd and it boots up fine but it still only sees the drive it isn't seeing any partitions
 
Old 05-20-2008, 12:57 PM   #11
czarr
Member
 
Registered: Apr 2008
Distribution: Arch
Posts: 36

Rep: Reputation: 15
Quote:
Originally Posted by Shadowmeph View Post
I tried the cd and it boots up fine but it still only sees the drive it isn't seeing any partitions
Maybe you are seeing partitions and you don't realize it? partitions on your harddrive will be denoted by different numbers for example my paritions look like this sda1 sda2 sda3 sda4 (you may have hda or somthing different) /boot is on sda1 sda2 is / sda3 is /home and sda4 is swap.
 
Old 05-20-2008, 01:37 PM   #12
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 260

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by czarr View Post
Maybe you are seeing partitions and you don't realize it? partitions on your harddrive will be denoted by different numbers for example my paritions look like this sda1 sda2 sda3 sda4 (you may have hda or somthing different) /boot is on sda1 sda2 is / sda3 is /home and sda4 is swap.
all it shows is sda ( and the total size of my hard drive which is 320gigs) there are no other partitions shown
 
Old 05-20-2008, 01:49 PM   #13
czarr
Member
 
Registered: Apr 2008
Distribution: Arch
Posts: 36

Rep: Reputation: 15
Quote:
Originally Posted by Shadowmeph View Post
all it shows is sda ( and the total size of my hard drive which is 320gigs) there are no other partitions shown
select sda and see what happens, it won't write anything to you disk yet. I think by selecting sda you will be selecting the device itself. partitions have numbers in them like sda1 sda2 (i think..) but it definetly won't hurt to go once step furthur. And make sure you're in "set filesystem mountpoints"
 
Old 05-20-2008, 02:14 PM   #14
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 260

Original Poster
Rep: Reputation: 29
ok I think that I have Arch installed and I have read Arch Grub but I am not sure of how to add this install into the main Grub menu ( Ubuntu hardy Grub Menu) this is what it says but I don't quite understand it which way do I use?
Dual booting with other linux distros

Quote:
This is done exactly the same way that Arch linux is loaded. Here we assume that the other distro is on partition [s/h]da3.

title Other Linux
root (hd0,2)
kernel /boot/vmlinuz (add other options here as required)
initrd /boot/initrd.img (if the other kernel uses/needs one)

[edit] Dual booting with other linux distro (Chainloading)

To avoid maintenance nightmare, you might want to chainload the GRUB in the MBR to another bootloader you might have installed in the bootrecord of a partition [(hd0,2) in our example] instead of the MBR. This way the auto-magic stuff of some distro will manage the menu.lst on (hd0,2) (if it is grub) for its own distro and you will boot with all the option needed (like the correct last kernel) without the need to copy/paste some part of that menu.lst into yours.

In our example [1], GRUB is in the MBR and some other bootloader (BL) (be it grub or lilo) is in the Boot Record of (hd0,2).

-------------------------------------------------
| | | | % (hd0,2) |
| M | | | B % |
| B | (hd0,0) | (hd0,1) | L % Other |
| R | | | % Distro |
| | | | % |
-------------------------------------------------
| ^
| chainloading |
-----------------------------

Then, you simply use in your menu.lst:

title Other Linux distro
root (hd0,2)
chainloader +1

Last edited by Shadowmeph; 05-20-2008 at 02:15 PM.
 
Old 05-21-2008, 01:31 PM   #15
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 260

Original Poster
Rep: Reputation: 29
Grub shows Arch in the menu but when I click on Arch it goes to to another screen ( like it is going to try an load Arch ) then I get a message saying "error 13 invalid or unsupported executable format"
this is what I have in the grub menu

title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=18573b0e-4906-4c7f-8e32-b544fd854ab5 ro single
initrd /boot/initrd.img-2.6.24-16-generic

title Ubuntu 8.04, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

# (0) Arch Linux
title Arch Linux [cpio]
root (hd0,0)
kernel /vmlinuz26 root=/dev/sda2 ro vga=773
initrd /kernel26.img

### END DEBIAN AUTOMAGIC KERNELS LIST

title Arch
rootnoverify (hd0,1)
chainloader +1


it ended up being It seems to me your grub entry should look like this:
Code:

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

thanks for all of your help

Last edited by Shadowmeph; 05-21-2008 at 03:41 PM. Reason: Solved
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Arch user wanted to help padawan learner install arch and use it thomas-linuxing Linux - Software 9 10-18-2006 05:02 PM
Just installed Arch! 65_289 Arch 3 01-21-2006 03:28 AM
arch linux install over pxe paha Arch 1 12-14-2004 12:23 PM
I installed Arch! ArchIsGood Arch 3 05-30-2004 09:55 AM
Install ARCH overwrite different linux version ?? davholla Arch 5 05-23-2004 10:15 AM


All times are GMT -5. The time now is 04:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration