You are not logged in.
Hello,
I would like to have my custom Arch CD which would by able to boot into system. Something similar like CtkArch (http://ctkarch.org/)
The problem is that I really cannot find any good tutorial which would work now, as far as could understand best tools was larch, but it says that it is outdated.
Then found this step by step tutorial https://kroweer.wordpress.com/2011/09/0 … -live-usb/ it is advanced and more clear then in arch wiki, but still no luck.
It would by best If tool could make .iso file of current system but as far as I could found out, there is no such think, but maybe I am wrong?
So maybe somebody could share link or at-least ideas how to make it, I guess other users also would by interested in it, since I was not able to find decent material in forum or in the internet.
PS: I am using Arch maybe ~1-2 months, but already have made huge progress (at-least I think) and know how to repeat my Arch+e17 from net CD, but it would take some time, since I have slow internet.
So basically, I need tutorial for making bootable Arch CD which would boot into windows manager, it would by perfect if it would go straight to RAM, but I guess that is for later.
Last edited by vaidotas203 (2012-04-23 19:51:09)
Offline
So far I was able to create a core CD which was around ~500MB, it was boot-able, but the problems is that it stuck maybe for 5 or even more minutes at "Generating locals" after that I was send to Slim login manager, but my login information was not accepted.
I did copied:
/etc/passwd
/etc/shadow
/etc/group
Maybe somebody could explain where is the problem?
Offline
Offline
What did you mean with that post? I am not looking for already made Arch+windows manager, I am looking for a way to do it, since some tools are outdated and other are not so good documented...
There are more similar arch already made chakra, ctkarch... but they all are already full off stuff I do not need.
Offline
Tried to make it from the scratch again, but this time did not installed slim, after long waiting for "Generating locals" I got simple arch asking to enter /arch/setup for start. Tried to run:
startx
exec enlightenment_start
they both tried to start, but fails "The locale '' cannot be found on your system. Please install this locale or try something else .xinit connection to X server lost...
Offline
Sorry if you misunderstood...
I know you don't want a LiveCD, you want to make one. Archbang is a LiveCD, so they must know how to do it.
That's why I told you they could certainly help.
Philippe
Offline
I was thinking of something similar - A live CD with only packages that you require - but hadn't had enough time to do research.
I think lots of users would want that, but problem is that it is not quite good documented, there are steps, but not really understandable for all. There are no information what to do or check when there is no output off CD.
Offline
CTKArch can be modified as desired with the proviso that the kernel is an old one, by using ISOMASTER program.
This program allows changing the installed packages, remove and install, from any "live cd" and it therefore allows a custom arch install as you desire.
The devlopment of further CTK upgrades has been curtailed I believe by changes in linux kernel supported packages.
However, to obtain experience with "live" cd packages, ISOMASTER will permit the customizing of CTK arch CD. As I have remarked elsewhere, it runs in ram but install to ram is provided but does not affect performance(other than the delay time while the entire CD is loaded to ram).
My approach to better performance is to use raid0 grub2 bootable. Boots in five to six seconds and runs jumanji like a dream.
I am not aware of a good "live CD" setup any better than customizing CTK in spite of the lack of recent kernels.
My use of CTK was in Flash Drives running as root and I enjoyed it very much.
I extend myself into areas not often ventured by others, hence, have generated a raid0 bootable grub2 Arch array(actually three arrays). These are on Compact Flash and run at 180mb.s read speed. On one now..........
Good hunting for a "live" that satisfies......
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
So basically we are returning back to changing what already is, and not making something own.
I already have somewhere custom CTKArch, I am not really concerned of it's old kernel, but old pacman... it is quite a pain to upgrade to pacman 4.
Also it has really much tweeks which I really do not need
Offline
Some time passed and still no progress.
Maybe somebody has link or idea how then to edit ArchBang LiveCD, mostly how to chroot into it, since at-least newest versions is a bit weird after unsquashfs I am getting not a "/" folder but other root-image.fs
Last edited by vaidotas203 (2012-05-18 19:07:14)
Offline
I think you should unpack that one as well. I'm now downloading the iso file, to try it myself.
Offline
I think you should unpack that one as well. I'm now downloading the iso file, to try it myself.
How to do that?
unsquashfs does not work on it
Making everything from the scratch(normal install to hdd is easy) but making LiveCD is maybe one of the hardest things in Arch
Last edited by vaidotas203 (2012-05-18 20:40:35)
Offline
Create a directory and mount it there:
mkdir ./mount
sudo mount root-filesystem.fs ./mount
Last edited by Evert7 (2012-05-19 09:24:40)
Offline
I have plans to fix "The ultimate Arch boot memory card" (according to my needs that is)
This might be completely different from what you are trying to do. I am planning on just installing arch onto a memory card (or usb) with all the packages I might need, personally I have no need for a CD. This should be pretty straight forward to setup (I hope). Duplicating this to other writable mediums would be really simple with dd if needed. But with CD, don't know....but do you really need a CD, usb/memory card won't suffice?
Do you also want to make the CD act as an installation medium, or just to boot?
I am planning on using partitions with GPT/Grub2/dm-cryptfs/ext3/fat32 (small fat32 partition for use with windows as well as containing windows programs for accessing dm-crypt and drivers for ext3; ext3 because there are windows drivers)
Offline
Create a directory and mount it there:
mkdir ./mount sudo mount root-filesystem.fs ./mount
Okay I did:
mkdir ./mount
sudo mount root-image.fs ./mount
got access to it:
chroot mount
But it has not internet connection, it is available on machine, but not while in chroot, doing pacman -Syy /-Syu or simple ping www.google.com fails.
Current problems:
How to get internet connection while in chroot
Testing this solution-> https://bbs.archlinux.org/viewtopic.php?id=54201
Future problems:
where is archbang install script stored (since planning to remove openbox)
Last edited by vaidotas203 (2012-05-19 12:27:50)
Offline
Do (in the chroot)
nano /etc/resolv.conf
Now write
nameserver 8.8.8.8
in it.
Press Ctrl+O to save and then press Enter. Then do Ctrl+x to quit.
Now you should have internet connection. (At least I do )
PS: nameserver 8.8.8.8 is google's DNS server.
Last edited by Evert7 (2012-05-19 12:34:51)
Offline
Installation script is:
abinstall
But to remove openbox you could just do
pacman -Rs openbox
Last edited by Evert7 (2012-05-19 12:42:18)
Offline
Installation script is:
abinstall
But to remove openbox you could just do
pacman -Rs openbox
Internet is in chroot
I can edit and remove files, but when I try to install, I get this:
[root@vaipui /]# pacman -S gparted
resolving dependencies...
looking for inter-conflicts...
Targets (1): gparted-0.12.1-1
Total Download Size: 1.30 MiB
Total Installed Size: 5.32 MiB
Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
gparted-0.12.1-1-i686 1335.6 KiB 29.1K/s 00:46 [------------------------------------------] 100%
(1/1) checking package integrity [------------------------------------------] 100%
(1/1) loading package files [------------------------------------------] 100%
(1/1) checking for file conflicts [------------------------------------------] 100%
error: could not determine filesystem mount points
error: not enough free disk space
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
[root@vaipui /]#
There is 2.1GB free space on mount point, and there is more then 200GB free space where the moint point it self is created...
Currently trying this-> https://bbs.archlinux.org/viewtopic.php?id=133927
[root@vaipui /]# df -i
df: cannot read table of mounted file systems: No such file or directory
Did: rm /etc/mtab
ln -s /proc/self/mounts /etc/mtab
Did not helped
EDIT: Disabled CheckSpace in pacman.conf seems like okay
Last edited by vaidotas203 (2012-05-19 13:18:09)
Offline
Any more problems? I hope it boots
Btw; you look like somebody who would really like Arch Studio (just an idea though)
Offline
Any more problems? I hope it boots
I hope it will, now downloading/updating packages.
PS: packing it back will be~ ?
mksquashfs squashfs-root
Offline
Evert7 wrote:Any more problems? I hope it boots
I hope it will, now downloading/updating packages.
PS: packing it back will be~ ?
mksquashfs squashfs-root
I think so, then add it back in the iso, so you can burn it. Just placing the files in your cd could cause the cd not to boot.
Offline
vaidotas203 wrote:Evert7 wrote:Any more problems? I hope it boots
I hope it will, now downloading/updating packages.
PS: packing it back will be~ ?
mksquashfs squashfs-rootI think so, then add it back in the iso, so you can burn it. Just placing the files in your cd could cause the cd not to boot.
is there such tools which would allow to add/replace it easiliy inside .iso file?
Offline
I think I can do that with Ark...
Offline
I think I can do that with Ark...
I did that with Windows tools, the disk is bootable, but when I select entry I get error:
losetup: failed to setup loop device: no such file or directory
Repeated same process again, with minor changes of only windows manager (and .xinitrc /skel), same think happened.
With access to chroot I can make what I want, although a bit trashy with left overs from ArchBang, but I first need to make it work with minor changes.
Have any ideas? So far you have been very helpful.
Last edited by vaidotas203 (2012-05-19 17:08:00)
Offline