You are not logged in.
Pages: 1
I would like to know how is Arch Linux installed from the standard installation CD using the /arch/setup script. Please note that I don't need a HowTo for the installation process, but rather would like to know what happens 'beyond the curtains' during installation!
As far as I understand, to start with, a 'miniature' linux system is booted from installation CD onto the ramdisk. The various operations are executed in this system. But what I don't understand is how the hard drive partition (where arch linux is to be installed) is accessed by the setup script.
Can anyone please give me the detailed description of how the installation carroes on? Or maybe someone could point me to a link which explains the process in general?
Thanks!
March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)
Offline
I'd recommend reading through the setup script - that will give you all the detail you need.
Offline
I'd recommend reading through the setup script - that will give you all the detail you need.
How can I get hold of it??
This is what I'm trying to do:
Extract isolinux/initrd.img from the installation CD to my hard drive.
Try to mount the extracted initrd/initrd.img using:
' mount -t auto -o loop initrd/initrd.img /mnt/image '
but it keeps giving me the messege:
'mount: you must specify the filesystem type'
file initrd.img gives :
'initrd.img: ASCII cpio archive (SVR4 with no CRC)'
As far as I understand, if I'm able to mount this file to /mnt/image, I'll find the setup script at /mnt/image/arch/setup.
But this seems to be of CPIO archive type file....and I don't seem to be able to use it!
Last edited by s26c.sayan (2007-06-22 10:56:39)
March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)
Offline
it's a cpio-archive.. You can't mount those (as far as i'm aware)
you can do this, though, after you've gunzipped it:
# mkdir initrd
# cd initrd
# cat ../initrd.img | cpio -i --no-absolute-filenames
it spews a lot of errors, but ./arch/{setup,quickinst} are there
Oh, don't forget the --no-absolute-filenames switch for cpio, or you'll hose your system
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
Oh, don't forget the --no-absolute-filenames switch for cpio, or you'll hose your system
Alas!! Your warning came a bit too late!!! I have ALREADY fucked up my system that way!!
Had been wondering what caused my system to go down all of a sudden, and after seeing your post, I've got the answer!
Anyway, is there another 'safer' way (:P) in which I can get hold of the setup script??
March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)
Offline
check your email...
PS: i made the same mistake once... I learned my lesson well
Last edited by klixon (2007-06-22 16:34:02)
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
Thanks a lot for your email, friend!
And I don't mind reinstalling Arch Linux now and then....gets rid of the 'bad blood', you know!!!
i made the same mistake once... I learned my lesson well
.....and I'm learning it now.....the hard way!!
In fact, I am writing a 1000 times " I WILL NOT MESS WITH CPIO UNTIL I KNOW WHAT I'M DOING " !!
March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)
Offline
There is a very easy, very safe way of getting into cpio archives. 'mc' can enter them (as a virtual filesystem) so long as the name is changed to blah.cpio.gz - and then you can copy whatever you want out.
larch: http://larch.berlios.de
Offline
Otherwize, bsdtar does it very well. as it is mentionned in the wiki.
bsdtar is part of libarchive
bsdtar -t -f <imagefile> will listout the list of files...
Regards
Thierry
Offline
Pages: 1