You are not logged in.
Pages: 1
During the installation arch asks me to select my package source, and it only gives me the options, CD or NET. I was wondering if it would be possible to somehow change the source to be a USB stick because i could then load it up with everything i needed ahead of time, as the computer I'm installing on has no internet access.
Offline
During the installation arch asks me to select my package source, and it only gives me the options, CD or NET. I was wondering if it would be possible to somehow change the source to be a USB stick because i could then load it up with everything i needed ahead of time, as the computer I'm installing on has no internet access.
I think there was such an option but I have no way to check it right now.
http://wiki.archlinux.org/index.php/Off … HER_SOURCE
Last edited by karol (2010-09-05 02:15:59)
Offline
Ya i read that as well, i should have been more specific with my question, i guess what I'm really asking is how to manually mount my usb stick so shows up as an alternative source
Offline
I've never done this so I'm guessing: before you start installation you are in a shell, you should be able to mount the drive someplace. Have you tried it?
Offline
ya I'm in shell, but since I'm new to this i don't completely understand how to mount something like a USB. How do i identify what the system even calls the usb?
Offline
ya I'm in shell, but since I'm new to this i don't completely understand how to mount something like a USB. How do i identify what the system even calls the usb?
Run
dmesg | tail
after you plug it in. If no device shows up, wait 10 seconds and run it again.
Offline
K so im pretty sure its called sda1, i followed the wiki and mounted it, then tried mounting it to /src/core/pkg, the place where it says it's looking for packages on install, but it told me no such file or directory exists
Offline
tried mounting it to /src/core/pkg, the place where it says it's looking for packages on install, but it told me no such file or directory exists
That looks reasonable, the installation routine probably creates it.
What happens if you
mkdir -p /src/core/pkg
?
Offline
never mind i think it's sdb
Offline
never mind i think it's sdb
That's what I thought, but didn't want to argue, since I'm not sitting at your keyboard :-)
Offline
custybacon wrote:tried mounting it to /src/core/pkg, the place where it says it's looking for packages on install, but it told me no such file or directory exists
That looks reasonable, the installation routine probably creates it.
What happens if youmkdir -p /src/core/pkg
?
i ran the command, nothing happens
Offline
karol wrote:custybacon wrote:tried mounting it to /src/core/pkg, the place where it says it's looking for packages on install, but it told me no such file or directory exists
That looks reasonable, the installation routine probably creates it.
What happens if youmkdir -p /src/core/pkg
?
i ran the command, nothing happens
Is the directory structure created? Unix and Linux programs usually remain silent if everything went fine.
Offline
so this is what i just tried
mount -t ext2 /dev/sdb/ mnt/src/core/pkg
It's still saying this directory doesn't exist, where can i mount it so that ill have the option to install pakages from it on install?
Offline
'/src/core/pkg' and 'mnt/src/core/pkg' are different directories ...
Offline
also when i enter
/src/core/pkg
it says it's a directory
Offline
also when i enter
/src/core/pkg
it says it's a directory
So it got created and it's waiting for you to mount your USB there.
Offline
'/src/core/pkg' and 'mnt/src/core/pkg' are different directories ...
ya just realized that, just tried
mount -t ext2 /dev/sdb /src/core/pkg
and i got the usual Wrong fs type, bad option, bad superblock on dev/sdb, other errors it could be etc.
Offline
Try /dev/sdb1 instead. sdb refers to the entire drive, whereas sdb1 refers to the first partition. if that doesn't work, are you sure it's formatted with ext2?
"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page
Offline
YAY i got it, thanks to everyone who gave me advice and helped me out
Offline
YAY i got it, thanks to everyone who gave me advice and helped me out
Soooo ...
mount -t ext2 /dev/sdb1 /src/core/pkg
was the correct command or was there something else? It's always nice to know what the problem was and it helps others who may have the same issues. 'Hurray, it's fixed' won't help them, posting an explanation may.
I'm glad you've worked it out. Please remember to mark the thread as [solved].
Offline
Pages: 1