ArchThis Forum is for the discussion of Arch Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I would like to try out Arch. But is it possible to install Arch from downloaded ISO files stored in hard drive? I could install slackware from DOS using loadlin.exe. I tried this method for Arch but Arch does not provide any way to pre-mount the ISO file during installation.
I think I figured out a way to do it............This will require booting from a floppy...Here's the step from the Arch install guide for using floppies:
Code:
Floppy Install
1. Download images/boot.img (path is relative to the mirror root)
2. Download images/root.img
3. Download any add-on images you need from the addon/ subdirectory:
ether_pcmcia.img - PCMCIA utilities/modules, Ethernet modules
fs.img - XFS/JFS filesystem utilities, Ext2 extra utilities
keymaps_usb.img - Additional keymaps/consolefonts, USB modules
raid_lvm.img - RAID/LVM modules and utilities
scsi.img - SCSI modules
4. Find some blank floppies and write the images to them:
(insert first disk)
# dd if=boot.img of=/dev/fd0
(insert second disk)
# dd if=root.img of=/dev/fd0
(repeat for any additional add-on images)
# dd if=scsi.img of=/dev/fd0
If you need to write these images from a Windows box, you can download rawrite.exe
and use it instead of dd.
5. Write down all your network settings so you can enter them into setup later, if you
want to install via FTP:
-IP Address
-Subnet Mask
-Gateway
-Ethernet Module for your network card (eg.: eepro100, 8139too)
Using The Floppies
If you have any chance of booting the system from the ArchLinux CD, it's strongly
recommended to do so. Not only are the floppies themselves prone to failure, the
whole boot process takes much longer, and if you need a handful of modules the
disk-juggling is very unnerving. Note that you do not have to boot from floppies to
install via FTP, CD-ROM will do just fine.
Reboot your computer with the boot disk in the floppy drive. After some disk-crunching
noises, you should come to a boot prompt, waiting eagerly for your input. Press Enter to
continue the boot process after adding any potentially needed kernel parameters.
If you are using a USB keyboard, you will need to load USB support automatically at
bootup. You can do this by setting the NEEDUSB parameter to your USB bus type. For
example, if you have a UHCI bus, you would type arch NEEDUSB=uhci at the boot
prompt. After the root disk loads, you will be prompted to load the USB add-on disk,
which will be auto-loaded after a 10-second wait. If you're not sure what kind of USB
bus you have, try specifying NEEDUSB=auto, which will load all three (UHCI,OHCI,EHCI)
bus modules.
Partway through the boot-up process, you will be prompted:
VFS: Insert root floppy disk to be loaded into RAM disk and press ENTER
Insert the root disk in the drive and hit Enter. After some more chunking you will be
given a shell. Since you'll be needing your ethernet module for the install, you
should now load the modules from the ether_pcmcia disk.
Note - you shouldn't need to load any network stuff, since you're using a mounted iso.
As soon as you get a command line after booting from the root floppy, you can mount the iso manually to the /src directory with a command something like this:
Code:
mount /path/to/iso /src -t iso9660 -o loop
Then run /arch/setup. When you're ready to "Select the packages", you should be given a choice of installing from a cd or from a pre-mounted directory........Choose the directory option.......
I burned the iso I downloaded to cd and installed from the cd, so I can't vouch for how it will turn out...........but it should do the trick......
Since I do not have floppy drive with my laptop. I tried loadlin from dos to bring me to hte arch setup prompt sucessfully.
The problem was that I cannot premount /dev/hda1 where my iso file is located. I found from arch website that arch chreat /dev/hda1 as /dev/discs/disc1/part1 which is very confusing. Isn't it just /dev/hda1?
I mkdir /winc so that I can used it as mountpoint for mounting /dev/hda1, and then mount the iso in /winc to src dir, but it just did not mount, warning no such device.
Arch uses devfs, which is a virtual filesystem that dynamically assigns the drives, based on what's installed.............It uses a different syntax instead of the more familiar /dev/hdax........Here's a breakdown of the equivalent expressions to substitute:
Notice for partitions, instead of using something like a1, you would use /disc0/part1. If you want to specify the whole drive and not just a single parition, instead of a using single letter such as a, you would use /disc0/disc...............Basically each drive has it's own separate directory (disc0, disc1, disc2, disc3) with device files called disc to designate the whole drive and part1, part2, etc., for the partitions.......
HTH
PS: This is for IDE drives...........For SCSI devices, I'm not sure if it's different............remember, devfs assigns these names based ONLY on what's installed...........So it might use /dev/discs for the SCSI drives just like the IDE drives, or it might use somehting different........
Last edited by thegeekster; 10-14-2004 at 02:51 AM.
It seems that the kernel comes with arch installer does not support vfat fs. That is why I could not mount dos partition. I put the install iso files to a linux partition and solved the problem. My installation from hard drive was then successful.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.