Fedora 7 Live CD: Permission Denied Error during bootup
by Sakthi_ciet
Hi,
I have a Fedora 7 live i386 CD. i want to create my
own distribution, based on fedora 7 live CD.
i dont know anything about modifying fedora live cd.
ofcourse i dont want to use any built in tools to
modify the fedora live cd.
I booted the system with FC7 live CD, with option run
from RAM.
1. logged in as root
2. mounted the FC7 live CD to /mnt
3. again mounted the /mnt/squashfs.img to /mnt-squash
4. again loop mounted the /mnt-squash/os.img to
/mnt-os
Now in my laptop (80GB Harddisk, 1GB RAM, intel
centrino processor, Windows XP Prof), i have 80 GB
NTFS partition C:/
So i dont have any option to create a ext3 partition.
i just used the windows NTFS partition as temporary
build space for my new distro.
5. mount /dev/sda1 to /win (This is the C:\ drive of
my laptop)
6. create a dir /win/build
7. create a 4GB file using dd as follows
dd if=/dev/zero of=/win/build/os.img bs=512
count=8388608
8. the above command created a raw 4GB file, i used
mkfs.ext3 to create a ext3 partition on this 4GB file.
9. mkfs.ext3 -L / /win/build/os.img
10. loop mounted (RW mode) /win/build/os.img to
/new-os/
11. now i copied the contents of original fedora live
CD os.img (/mnt-os/* to /new-os/*)
Note: I used --preserve=context option to preserve the
SELinux Context. (cp --preserve=context -rf .
/new-os/)
12. changed /new-os/etc/issue file.
13. unmounted /new-os
14. then created a squasfs.img using the new os.img
image and sysroot folder as follows,
cd /win/build/
cp -rf /mnt-squash/sysroot .
mksquashfs os.img sysroot/ squashfs.img
15. now i got the squashfs.img successfully, (but
firsttime i got the compressed size of squshfs.img as
653MB, later, 4th 5th time the size grown to 1.1GB,
1.2GB - but this is not the subject of interest!)
16. created a dir /win/my_new_distro
17. copied newly created squashfs.img to
/win/my_new_distro
18. copied /mnt/sysroot to /win/my_new_distro/
19. copied /mnt/isolinux to /win/my_new_distro/
modified the boot loaders ditro display name, splash
images in isolinux/
20. created the bootable isoimage using mkisofs
cd /win/my_new_distro/
mkisofs -o ../sakthi.iso -b isolinux/isolinux.bin -c
isolinux/boot.cat -no-emul-boot -boot-load-size 4
-boot-info-table -V sakthilnx .
21. successfully got the ISO image of my new distro, i
just burned it to my CD using cdrecord
cdrecord -v -dao -dev=1,0,0 sakthi.iso
22. Booted my new distro CD, it booted successfully,
reflecting all changes in boot loader screen.
23. Selected the 1st option Run Live Image
24. It uncompressed, control moved to rc.sysinit, and
complained not able to execute hwclock, permission
denied.
from here all the system service failed saying
permission denied error.
All that i guess is SELinux context issue, but when i
checked the medium --> squashfs.img -->os.img
-->(mounted) (my new distro, by mounting in another
linux machine) i found that the SElinux context is
preserved it has context smilar to FC7 Live CD. i dont
understand where i did the mistake.
i haven't referred to any documentation / wesite, on
how to build custom distro, all i did is my own
guessing.
FYI:
previously one of my try is successful, there i copied
os.img contents to the NTFS partition (/win/os-cnt/)
then i did the changes, and again copied all the
contents to my local os.img file (ext3 partition)
i did not preserved anything while copying, except i
changed the tmp/ dir with chmod 777 tmp/, chmod t
tmp/.
this worked well, booted, all services started
successfully, x server started.
but when i try to login from X window or Command Line
(Ctrl+Alt+F1) i am been logged out automatically in
less than a second. loggin in from Command Line, it
says (no shell to login, permission denied).
from GUI, a window appear and says your session lasted
lessthan 10 secs, please see the log files for
details.
I dont understand neither error messages.
Please forgive me for my bad english, and let me know
if some thing is not clear or want more details.
Is there any one who can help this poor boy?
--
Thanks in Advance,
Sakthivel
Add more friends to your messenger and enjoy! Go to http://in.messenger.yahoo.com/invite/
15 years, 7 months
Re : [Fedora-livecd-list] livecd-creator unable to install packages
by El Kindi REZIG
Thanks a million man! It did the trick...
----- Message d'origine ----
De : Jeroen van Meeuwen <kanarip(a)kanarip.com>
À : fedora-livecd-list(a)redhat.com
Envoyé le : Dimanche, 21 Septembre 2008, 9h46mn 06s
Objet : Re: [Fedora-livecd-list] livecd-creator unable to install packages
El Kindi REZIG wrote:
> Hello everybody,
>
> I've been really confused these days by an error message after I run
> livecd-creator, it says that it is unable to install some of my packages
> (almost all), here is the message:
>
> Error creating Live CD : Unable to install: [('installing package
> xorg-x11-server-Xorg-1.3.0.0-47.fc8.i386 needs 5MB on the
> /var/tmp/livecd-creator-IWpN5C/install_root filesystem', (9,
snip
> As you can see it seems it's a disk space problem, but I have 28 GO
> free, also I noticed that the size of the packaged reported in the error
> don't make any sense. I also noticed that when I try to build
> livecd-fedora-desktop-base, it works fine, strange... Any hints would be
> appreciated.
>
Increase the size of "part / --size=" in the kickstart you are using.
Kind regards,
Jeroen van Meeuwen
-kanarip
--
Fedora-livecd-list mailing list
Fedora-livecd-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list
15 years, 7 months
livecd-creator unable to install packages
by El Kindi REZIG
Hello everybody,
I've been really confused these days by an error message after I run livecd-creator, it says that it is unable to install some of my packages (almost all), here is the message:
Error creating Live CD : Unable to install: [('installing package xorg-x11-server-Xorg-1.3.0.0-47.fc8.i386 needs 5MB on the /var/tmp/livecd-creator-IWpN5C/install_root filesystem', (9, '/var/tmp/livecd-creator-IWpN5C/install_root', 4579328L)), ('installing package rhpxl-0.49-2.fc8.i386 needs 5MB on the /var/tmp/livecd-creator-IWpN5C/install_root filesystem', (9, '/var/tmp/livecd-creator-IWpN5C/install_root', 5181440L)), ('installing package xorg-x11-drv-mouse-1.2.3-1.fc8.i386 needs 5MB on the /var/tmp/livecd-creator-IWpN5C/install_root filesystem', (9, '/var/tmp/livecd-creator-IWpN5C/install_root', 5238784L)), ('installing package xorg-x11-drv-calcomp-1.1.0-4.fc8.i386 needs 6MB on the /var/tmp/livecd-creator-IWpN5C/install_root filesystem', (9, '/var/tmp/livecd-creator-IWpN5C/install_root', 5259264L)), ('installing package xorg-x11-drv-citron-2.2.0-2.fc7.i386 needs 6MB on the /var/tmp/livecd-creator-IWpN5C/install_root filesystem', (9,
'/var/tmp/livecd-creator-IWpN5C/install_root', 5320704L)), ('installing package xorg-x11-drv-savage-2.1.3-1.fc8.i386 needs 6MB on the /var/tmp/livecd-creator-IWpN5C/install_root filesystem', (9, '/var/tmp/livecd-creator-IWpN5C/install_root', 5480448L)), ('installing package xorg-x11-drv-chips-1.1.1-5.fc8.i386 needs 6MB on the /var/tmp/livecd-creator-IWpN5C/install_root filesystem', (9, '/var/tmp/livecd-creator-IWpN5C/install_root', 5648384L)), ('installing package xorg-x11-drv-tdfx-1.3.0-6.fc8.i386 needs 6MB on the /var/tmp/livecd-creator-IWpN5C/install_root filesystem', (9, '/var/tmp/livecd-creator-IWpN5C/install_root', 5734400L)), ('installing package xorg-x11-drv-magictouch-1.0.0.5-5.fc8.i386 needs 6MB on the /var/tmp/livecd-creator-IWpN5C/install_root filesystem', (9, '/var/tmp/livecd-creator-IWpN5C/install_root', 5746688L)), ('installing package xorg-x11-drv-dummy-0.2.0-5.fc8.i386 needs 6MB on the /var/tmp/livecd-creator-IWpN5C/install_root
filesystem', (9, '/var/tmp/livecd-creator-IWpN5C/install_root', 5763072L)), ('installing package xorg-x11-drv-trident-1.2.3-6.fc8.i386 needs 6MB on the /var/tmp/livecd-creator-IWpN5C/install_root filesystem', (9, '/var/tmp/livecd-creator-IWpN5C/install_root', 5943296L)), ('installing package xorg-x11-drv-rendition-4.1.3-5.fc8.i386 needs 6MB on the /var/tmp/livecd-creator-IWpN5C/install_root filesystem', (9, '/var/tmp/livecd-creator-IWpN5C/install_root', 6070272L)), ('installing package xorg-x11-drv-digitaledge-1.1.0-4.fc8.i386 needs 6MB on the /var/tmp/livecd-creator-IWpN5C/install_root filesystem', (9, '/var/tmp/livecd-creator-IWpN5C/install_root', 6090752L)), ('installing package xorg-x11-drv-fpit-1.1.0-4.fc8.i386 needs 6MB on the /var/tmp/livecd-creator-IWpN5C/install_root filesystem',
As you can see it seems it's a disk space problem, but I have 28 GO free, also I noticed that the size of the packaged reported in the error don't make any sense. I also noticed that when I try to build livecd-fedora-desktop-base, it works fine, strange... Any hints would be appreciated.
15 years, 7 months
What's needed to bring latest Fedora LiveCD Tools up to RHEL 5?
by Bryan J Smith
It's now clear I will make the time to help do this, as the LiveCD build
system seems to be the best way to accomplish many goals I have. Some
of this may require a fork of select packages from RHEL mainstream, I
understand this. It's an external requirement in my case.
livecd-tools is currently release 013-5.el5 in EPEL for RHEL 5
I know several have mentioned other components are involved. E.g., as
Rahul pointed to me earlier, the CentOS guys have updated several
components in their project (pykickstart, etc...):
http://www.nanotechnologies.qc.ca/propos/linux/centos-live/i386/live/RPMS/
Ultimately I would like to make the system more flexible for various
boots, if possible with that same framework. But that's more eccentric
to my needs. I'd just like to address the few differences between
Fedora and RHEL, even if that means a few packages are forked and
unsupported (at least outside of GPS ;).
--
Bryan J Smith - Senior Consultant - Red Hat GPS SE US
mailto:bjs@redhat.com +1 (407) 489-7013 (Mobile)
mailto:b.j.smith@ieee.org (non-RH/ext to Blackberry)
-----------------------------------------------------
For every dollar you spend on Red Hat solutions, you
not only fund the leading community development re-
source, but you receive the #1 IT industry leader in
corporate value. http://www.redhat.com/promo/vendor/
15 years, 7 months
Boot time parameter differences in RHEL 5 from Fedora 9?
by Bryan J Smith
Does RHEL 5 support booting an iso image in the initrd like 015+
supports with PXE? E.g., the "rootfstype=iso9660" and "rootflags=loop"
options? Thanx!
--
Bryan J Smith - Senior Consultant - Red Hat GPS SE US
mailto:bjs@redhat.com +1 (407) 489-7013 (Mobile)
mailto:b.j.smith@ieee.org (non-RH/ext to Blackberry)
-----------------------------------------------------
For every dollar you spend on Red Hat solutions, you
not only fund the leading community development re-
source, but you receive the #1 IT industry leader in
corporate value. http://www.redhat.com/promo/vendor/
15 years, 7 months
Fonts are getting chopped
by Todd N
Hello,
When booted to a Live CD produced with livecd-tools, and using the Gnome desktop, text on the desktop itself, and in the Firefox web browser, is displayed with parts of letters being chopped off. For the desktop itself, part of the first letter of each line of text is truncated on the left. In Firefox (version 3.0.1 in my case), lines of text are truncated on the top (about the upper 15-20% of every line).
Has anyone else seen this, and if so do you know a way around it? If you'd like more details of my setup here, or more clarification of the problem (I have screen shots) please let me know.
Thanks much,
Todd
15 years, 7 months
Re: LXDE on rawhide and LXDE Live CD spin
by Antonio Olivares
--- On Wed, 9/17/08, Rahul Sundaram <sundaram(a)fedoraproject.org> wrote:
> Antonio Olivares wrote:
> > Dear fellow testers,
> >
> > I welcome the arrival of LXDE on Fedora. Upon its
> coming in, I wonder what are the requirements for it. I
> have an old box that refuses to install Fedora 8, or Fedora
> 9 because some driver or other detail kills the installation
> process. I tried the XFCE spin and it fails to run as well
> :(, but upon seeing the LXDE coming in, it might be a good
> idea to try and install rawhide on this machine and install
> LXDE, I can try on another older machine at school, but I
> want to see if I can install ext4 or not when new Beta
> release(s) appear for F10.
> >
> > Also upon Rahul's spin of XFCE live cd, how about
> a spin of LXDE for those older machines. I can surely test
> this as a colleage has very old machines which ran windows
> 98 with 32/or 64 MB of Ram and if LXDE works under such
> harsh, below average conditions, I can gladly and cheerfully
> attempt to install Fedora with LXDE on those machines and
> make the students test the machines out. Windows 98 freezes
> most of the time and my colleage decided not to connect the
> machines to avoid problems. But I think this is a great
> opportunity to test LXDE and see if it can power on those
> old machines.
> >
> > Any ideas, advice suggestions. I will try to convince
> my colleague or otherwise borrow at least two machines to
> make some tests.
>
> Follow
>
> https://fedoraproject.org/wiki/FedoraLiveCD/LiveCDHowTo
>
> If you install livecd-tools and spin-kickstarts from
>
> https://bugzilla.redhat.com/show_bug.cgi?id=448072
>
> It is fairly easy to create a new spin based on existing
> working
> examples including xfce, kde, desktop ks files. Someone
> would have to
> volunteer to maintain it going forward however. That
> requires more
> commitment.
>
> Rahul
Thank you again Rahul for your prompt response. I will take a look into it. This is a very promising desktop for older machines which we have plenty of at school. They might take some to the warehouse to auction them off, If I can get a livecd and inject some life into them with LXDE that would be great :)
Regards,
Antonio
BTW,
I have visited the following page:
http://fedoraproject.org/wiki/ChristophWickert/FedoraLite
but I cannot find out the end low requirements to get this working on a system or try it out with a livecd. I run rawhide and have the livecd-tools installed.
15 years, 7 months
Use a different init system?
by El Kindi REZIG
Hello everybody,
Is it possible to use a different init system on my live cd, like initng which I want to make by default, is modifying GRUB sufficient to do it (init = /sbin/initng), or is there something else I have to do? I assume it's going to be ok, but when I put init = /sbin/initng, is it going to find it or do I have to add a different path?
15 years, 7 months