You are not logged in.
I have Ubuntu already installed on my system and I want to install Arch on a separate 10gig partition ( which is already made) but when I boot from the Arch cd and go to install Arch only sees the main drive it doesn't see anything else what am I doing wrong. I only want to install arch on the 10 gig partition for now until I am more familiar with Linux
Last edited by Shadowmeph (2008-05-20 17:35:28)
Offline
Here's the GRUB wiki entry. It should help you out with dual booting.
http://wiki.archlinux.org/index.php/GRUB
Offline
I have just read that it is informative but I am not sure of what that will do inorder for me to be able to install Arch on My tem gig partition, when I am in ubuntu I stat gparted to see what the names of my partitions are and this is what it shows /dev/sda3 swap 1gig /dev/ sda2 reiserfs 10 gigs ( where I want to install Arch) sda1 / Ubuntu how do I install arch onto dev/sda 2 ) the ten gig partition) if arch doesn't see it? do I have to delete the partition or formaste the 10 gig partition differently? I am pretty new to Linux so I am not sure of how to do this.
this is what my grub looks like
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=18573b0e-4906-4c7f-8e32-b544fd854ab5 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=18573b0e-4906-4c7f-8e32-b544fd854ab5 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
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
### END DEBIAN AUTOMAGIC KERNELS LIST
ok edit two I think that I have Arch install but I am not sure of which way to use
Dual booting with other linux distros
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 (2008-05-20 17:56:20)
Offline
In the arch install, are you sure you're not just at the point where it asks for which drive to install to, asking if you want /dev/sda (no number). This is just asking for the drive, not the partition.
If I understand correctly, after you select this drive, it will give you the choice of partitions.
Offline
In the arch install, are you sure you're not just at the point where it asks for which drive to install to, asking if you want /dev/sda (no number). This is just asking for the drive, not the partition.
If I understand correctly, after you select this drive, it will give you the choice of partitions.
Yes I realized that and I am sure I have Arch Linux installed but I am not sure of how to add Arch OS to the Grub Menu in because in the grub menu I have Ubuntu but not Arch I read the the instructions here http://wiki.archlinux.org/index.php/GRUB just not to sure how to do it my Ubuntu is on /dev/sda1 ( according to gparted) my swap file is on /dev/sda3 and I installed the Arch files onto /dev/sda2
Offline
ok I just took a logical guess when I rebooted and went into grub it showed Arch in the menu but when I tried to load it I got "error 15 file not found"
Offline
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
Quote:
# menu.lst - See: grub(, info grub, update-grub(
# grub-install(, grub-floppy(,
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=18573b0e-4906-4c7f-8e32-b544fd854ab5 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=18573b0e-4906-4c7f-8e32-b544fd854ab5 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
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
Last edited by Shadowmeph (2008-05-21 17:29:28)
Offline
Well, your Arch Linux [cpio] entry is pointing to what looks to be your Ubuntu partition (hd0,0) Try correcting it.
Here's a little more info on error 13.
13 : Invalid or unsupported executable format
This error is returned if the kernel image being loaded is not recognized as Multiboot or one of the supported native formats (Linux zImage or bzImage, FreeBSD, or NetBSD).
Offline
nobody needs to see any commented lines.
the problem is that (hd0,0) is pointing to your ubuntu partition i think.
I have /boot on the second partition so mine points to (hd0,1)
if your arch partition is on the third partition then i think you would need (hd0,2). I'm not sure that my examples are correct but i am sure that, that is part of your problem.
edit: what he said ^
Last edited by czar (2008-05-21 17:42:38)
Offline
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=18573b0e-4906-4c7f-8e32-b544fd854ab5 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
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
### END DEBIAN AUTOMAGIC KERNELS LIST
this is Arch
# (0) Arch Linux
title Arch Linux [/boot/vmlinuz26]
root (hd0,0)
kernel /vmlinuz26 root=/dev/hda3 ro
initrd /kernel26.img
now to me they are point to the same place which doesn't make any sense because Arch is on a partition that ( when I am in Ubuntu ) if I load up gparted to show me the partitions it says this
/dev/sda3 linux swap 1.00GB
/dev/sda2 reiserfs set 10.00GB 478.73 MB used 9.54 GB unused ( this is where I have installed Arch
/dev/sda1 ext3 / 287 GB 36.50GB used 250 GB unused boot ( Ubuntu hardy
this is what is confusing me
and by the way I really appreciate you peoples time and patience
Offline
It seems to me your grub entry should look like this:
title Arch Linux
root (hd0,1)
kernel /boot/vmlinuz26 root=/dev/sda2 ro
initrd /boot/kernel26.img
Try it, and let us know what's happened.
Offline
It seems to me your grub entry should look like this:
title Arch Linux root (hd0,1) kernel /boot/vmlinuz26 root=/dev/sda2 ro initrd /boot/kernel26.img
Try it, and let us know what's happened.
ok that seems to have worked it takes me to a shell ( I think that is what it is called) that says ( on the screen) loginmyhost: ( asks for lo0gin name then login pass word so I took a guess and typed in
myhost
t for loging name but didn't know what password is . so what do I use for the login name and Login Password?
Last edited by Shadowmeph (2008-05-21 19:26:15)
Offline
ok I did a search of the forums here and I am wondering if I have to Add myself in as a user and if so do I doit the same way as this person did "useradd -m -s /bin/bash username"
Offline
Well, you installed your arch, so you should remember what you've chosen for the root password (and then you can login as 'root' with that password). The installed has probably asked also if you want to add some users, and if you said 'yes', then you can login as any of those users.
By the way, running the system as root is not such a good idea, so you should create some regular user(s) as soon as possible.
A word of warning: if you wan't GUI, you have to install it explicitly, it's not there yet (it's not part of the base install).
EDIT: good, you figured out yourself. You can also use 'adduser', that's interactive.
Last edited by bender02 (2008-05-21 19:38:39)
Offline
I believe the only user you have in the beginning is root (the password is the one you chose when installing Arch). You can then add users by
adduser
or check
man useradd
EDIT: What he said
Last edited by carandraug (2008-05-21 19:43:40)
Miss your loved ones?
You don't have to. RJX-21 laser scope.
Offline
This will be the first roadblock of MANY if you don't read the beginners guide in the wiki like i linked you to in another forum.
Offline
I don't remember doing this "what you've chosen for the root password (and then you can login as 'root' with that password) but I will reread the Beginners manual again to see what I can do thanks for all of your help
Offline
When you were going through the config files during installation (rc.conf, hosts, pacman mirrors, ect) the very last one was "Set root password"
Offline
now I have a couple of more questions I added my user then after I did this I rebooted and then logged in as root tried the pacman -S sudo as per the guide but it won't let me
I am getting the following error " error failed to init transaction ( unable to lock database) if you're sure a package manager is not already you can remove /var/lib/pacman/db.lck
so I will just delete /var/lib/pacman/db.lck
also my sound card doesn't work ( isn't comptable) with alsa ( Ububtu hardy 64bit ) I had to manually build OSS to get my sound card working. does this mean I have to do this for Arch also?
Edit
Last edited by Shadowmeph (2008-05-21 22:34:01)
Offline
This will be the first roadblock of MANY if you don't read the beginners guide in the wiki like i linked you to in another forum.
QFT.
Shadowmeph, my recommendation is to actually reinstall Arch by following the Beginner's Guide in the wiki. That's why it is there. It represents hundreds of hours of work by many people for the benefit of beginners like yourself. It will allow you to control and understand what is happening step-by-step.
Follow it closely until your system is nearly complete, and then search the forums and wiki for solutions to remaining problems before posting.
If you do so, I promise that many questions will be answered before they even require being asked.
Have fun and good luck.
Offline
well I am using the guide the thing is that I could only print out the first 27 pages ( ran out of black ink so I have to constanlty log back into Ubuntu and lookup things like the current problem I am having is that I can ping google and I have updated allot of the things I need to but when I do pacman -S alsa-utils it says retrieving blah blah it trys to retrieve for about five minutes then runs out now I am not sure if it is doing this because mySmoothwall firewall is blocking it or is it because of something else. I reboot into Ubuntu and access my smoothwall look at the logs but I am not sure which ip Arch is trying to get to because my log has an average of 3 ips every five minutes. I am getting this done and even if I start all over and reread the manual again for the 4 th time I still most likely will be where I am now
Offline
If you are able to login to the Arch shell, try using links to reference the guide. It should save you time going back and forth between Arch and Ubuntu.
Offline
I think that my hardware firewall is blocking me from getting files but I am not sure of the ip address's I use the "pacman -S libgl" and it tries to connect but it doesn't , so I check my hardware firewall log and it shows a couple of ip's and ports trying to connect but I am not sure which is the correct ip and ports I don't know if I should post the ip address's of the ones that I think are correct. is there anyway I can find out which is which so I can download what I need
Offline
remove your hardware firewall. No point in trouble shooting archlinux when your not sure about your firewall config. If the ips in your log are local addresses (192.168.x.x) then i'd bet they are comming from a computer in your LAN.
Offline
this is how I am doing it for now but it isn't goping to make the problem go away
Offline