Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Build a Gentoo install/boot/rescue LiveCD USB
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
DanBUK
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2003
Posts: 105
Location: London, UK

PostPosted: Fri Oct 10, 2003 6:09 am    Post subject: Thanks Reply with quote

Thanks Chadduss,
You've made my friday.
Quick replys - Well i aint slept, but thats my fault.... (07:20am at the moment....)
Its been quite fun working on it. At the moment I am working on getting multi kernels into the script. Auto hardware config noltha is working on. And FB/blootspash support.
So soon it will be kinda finished.
If anyone has any suggestions, fire away?

Cheers,
Daniel.


Last edited by DanBUK on Sun Nov 09, 2003 7:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
Chadduss
n00b
n00b


Joined: 05 Jul 2003
Posts: 22

PostPosted: Fri Oct 10, 2003 12:45 pm    Post subject: Reply with quote

I have one question though. When the CD boots up it comes to that screen "telling you hit F2 for verbose or hit enter" etc. Where is that image kept in the cdroot?

Thanks again!
Back to top
View user's profile Send private message
DanBUK
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2003
Posts: 105
Location: London, UK

PostPosted: Fri Oct 10, 2003 12:51 pm    Post subject: bg image Reply with quote

The image is at the moment stored the the /etc/livecd-ng/profiles/global/gentoo.lss

in the next verison i will be making it profile independent.

Cheers,
DanB.


Last edited by DanBUK on Sun Nov 09, 2003 7:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
Chadduss
n00b
n00b


Joined: 05 Jul 2003
Posts: 22

PostPosted: Fri Oct 10, 2003 3:01 pm    Post subject: Reply with quote

hmm, tried opening it with gimp. Didn't work. Know of anyway that I can edit it?

Thanks
Back to top
View user's profile Send private message
DanBUK
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2003
Posts: 105
Location: London, UK

PostPosted: Fri Oct 10, 2003 3:09 pm    Post subject: yep here are some rough steps Reply with quote

### Howto make .lss files for screen at boot prompt

Please be aware that the final splash image will be 640 pixels wide
with 4bpp color depth (16 colors)
The vertical dimension should be definitely less then 480 pixels and
please be aware that you need some space below your image on the splash
screen for your welcome text - at least one line for the boot prompt.

So we have a .gif with an optimized palette reduced to 16 colors. Next,
we need to convert it to .lss, with an intermediate step via .ppm.
The first step is easy:

giftoppm image.gif >image.ppm

./ppmtolss16 '#c0cfc0=7' <image.ppm >image.lss

More detail goto:
http://sweb.cz/Frantisek.Rysanek/splash/isolinux-splash-HOWTO.html

Cheers Dan.

EDIT:
Umm i didnt read properly first time... edit ... right.
lss16toppm < gentoo.lss >gentoo.ppm
ppmtogif gentoo.ppm > gentoo.gif

But i guess you worked that out :roll:


Last edited by DanBUK on Sun Nov 09, 2003 7:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
Chadduss
n00b
n00b


Joined: 05 Jul 2003
Posts: 22

PostPosted: Fri Oct 10, 2003 3:28 pm    Post subject: Reply with quote

Hey, thanks a lot! This is going to make my project all so much easier!
Back to top
View user's profile Send private message
DanBUK
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2003
Posts: 105
Location: London, UK

PostPosted: Fri Oct 10, 2003 4:24 pm    Post subject: Well... Reply with quote

The current state of the code that i am working on at the moment, has multiple initrd/kernels generated from some more settings in the profile and another kernel config.
Ill test it a little more, then ill post it.
And if anyone could let me know how they get on, I'd be glad.

Cheers,
Dan.


Last edited by DanBUK on Sun Nov 09, 2003 7:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
Zenshi
n00b
n00b


Joined: 11 Sep 2003
Posts: 8
Location: Portugal

PostPosted: Sun Oct 12, 2003 1:18 am    Post subject: Reply with quote

Hello all,

Im using DanBUK livecd-ng-1.1 to create the LiveUSB image and i stumbled into a problem:

Code:

Using current working directory as LIVECD_ROOT.
6000+0 records in
6000+0 records out
Error: usbcore.o not found; skipping...
Error: dc395x_trm.o not found; skipping...


What i done wrong for the usbcore.o file don't get found? (I don't use dc396x_trm.o so, i don't bother with it)

[edit]
Been testing a bit with it and now i have been having this problem on the livecd-ng minimal build:
Code:

make: *** No rule to make target `oldconfig'.  Stop.
chroot_generate: error: Chroot kernel/2nd package build failure

I used a stage2 tarball to create the build, any hints on what's wrong?

Also, on the 1st case that i posted, i got a livecd.iso of 212Mb, is this normal?
i wanna make a livecd for installing from USB, and i don't wanna buy a 256Mb dongle, they are still too expensive :)
[/edit]

Thanks in advance
_________________
There are people that see things and say why,
I dream things that never were and say, why not?
Back to top
View user's profile Send private message
Chadduss
n00b
n00b


Joined: 05 Jul 2003
Posts: 22

PostPosted: Sun Oct 12, 2003 11:02 am    Post subject: Reply with quote

to get usb core to work open up the kernel config and have it set to m for module. As for the dcmblah It's not in the vanilla sources kernel for some reason and just will not be builf with make modules. As for the stage tarball I'd suggest using a stage 3
Back to top
View user's profile Send private message
Zenshi
n00b
n00b


Joined: 11 Sep 2003
Posts: 8
Location: Portugal

PostPosted: Mon Oct 13, 2003 2:57 am    Post subject: Reply with quote

Hello all,

DanBUK, is there any way to have support for 2.4.6 kernels?
My mobo as a 3Com 940 chipset and i need to create my LiveCD with 2.4.6 kernel in order to have the network card working...

Thanks in advance
_________________
There are people that see things and say why,
I dream things that never were and say, why not?
Back to top
View user's profile Send private message
DanBUK
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2003
Posts: 105
Location: London, UK

PostPosted: Mon Oct 13, 2003 9:01 am    Post subject: Reply with quote

Yes, thats easy... In the profiles folder for each profiele there is a stage1-packages and stage2, the stage1 contains the kernel that is emerged into the system. Or if you allready have a chroot, you can "enter" the chroot , run make menuconfig then exit the chroot and cp the .config from inside the chroots /usr/src/linux and place it in the profile, change the settigns to point to that kernel file and run kernbuild.
I hope that makes sense.

Cheers,
Dan.

:P


Last edited by DanBUK on Sun Nov 09, 2003 7:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
Zenshi
n00b
n00b


Joined: 11 Sep 2003
Posts: 8
Location: Portugal

PostPosted: Mon Oct 13, 2003 7:12 pm    Post subject: Reply with quote

Hello all,

DanBUK, the problem i was facing was that if i used a 2.6.0 kernel , the compressed_loop.c won't complie straight, that makes any sense to you?

Also, what are the minimal packages to use in stage1 and stage2 to have the smallest possible livecd.cloop file (I dunno why, but the smallest one that i could produce was 123Mb, not goog to fit in my 64MB USB dongle)
_________________
There are people that see things and say why,
I dream things that never were and say, why not?
Back to top
View user's profile Send private message
DanBUK
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2003
Posts: 105
Location: London, UK

PostPosted: Wed Oct 15, 2003 4:43 am    Post subject: ummm Reply with quote

Zenshi wrote:
DanBUK, the problem i was facing was that if i used a 2.6.0 kernel , the compressed_loop.c won't complie straight, that makes any sense to you?

Yeh that makes perfect sense I should have removed it from the settings before I packaged up, I hand not managed to get it to compile either.
Zenshi wrote:
Also, what are the minimal packages to use in stage1 and stage2 to have the smallest possible livecd.cloop file (I dunno why, but the smallest one that i could produce was 123Mb, not goog to fit in my 64MB USB dongle)

At the moment the minimal packages are quite bulky for isdn, asdl, lots etc
I am today working on a clean list to add into the next version. In the version you are using you can look at the ./profiles/global/clean file. I have commented a lot out but that will make your cd a lot smaller. Use it with livecd-ng <profile> clean

Hope that makes sense,
cheers,
Dan.


Last edited by DanBUK on Sun Nov 09, 2003 7:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
Zenshi
n00b
n00b


Joined: 11 Sep 2003
Posts: 8
Location: Portugal

PostPosted: Thu Oct 16, 2003 6:51 pm    Post subject: Reply with quote

Hello DanBUK,

When will you release a version that can use the 2.6.0 kernels?
I really, really need to use 2.6.0 kernel, cause it's the only kernel that has support for my network card...

Thanks in advance
_________________
There are people that see things and say why,
I dream things that never were and say, why not?
Back to top
View user's profile Send private message
DanBUK
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2003
Posts: 105
Location: London, UK

PostPosted: Thu Oct 16, 2003 6:56 pm    Post subject: Reply with quote

Zenshi wrote:
Hello DanBUK,

When will you release a version that can use the 2.6.0 kernels?
I really, really need to use 2.6.0 kernel, cause it's the only kernel that has support for my network card...

Thanks in advance


Hi, Umm, I will try out some different cloop versions but i think there are major differences in the way the kernel talks with 2.6 than 2.4, than does not mean that cramfs couldn't be considered, not sure on the compression of it but its somthing to consider. So until cloop gets upto speed with 2.6 there will be problems.


Last edited by DanBUK on Sun Nov 09, 2003 7:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
ixion
l33t
l33t


Joined: 16 Dec 2002
Posts: 708

PostPosted: Thu Oct 16, 2003 7:51 pm    Post subject: Reply with quote

now when I boot off of a new CD I'm getting these errors. Now, this is not from the default, but after using gentoo-sources and tweaking a few things..

Code:

---- Mounting the CD
---- CD medium found on /newroot/dev/cdroms/cdrom0
---- Mounting compressed loopback filesystem
Using /modules/cloop.o
insmod: unresolved symbol zlib_inflate_workspacesize_Rce5ac24f
insmod: unresolved symbol zlib_inflateEnd_R9ef45f92
insmod: unresolved symbol zlib_inflate_R64cf8602
insmod: unresolved symbol zlib_inflateInit_R456e911d
insmod: unresolved symbol zlib_inflateReset_Ref76d642
mount: Mounting /dev/cloop on /newroot/mnt/cloop failed: No such device or address
---- Copying and symlinking files from CD to populate /
mkdir: Cannot create directory 'lib': File exists
cp: root: No such file or directory
cp: home: No such file or directory
cp: var: No such file or directory
ln: ./var/log: No such file or directory
---- Switching to tmpfs root filesystem
exec: chroot: No such file or directory
Kernel panic: Attempted to kill init!


I also have a couple questions. Would I be able to have the keymap select eliminated. I would like the CD to boot to a linux system without any interaction. Is this possible? Secondly, can I have custom scripts run on bootup?
_________________
only the paranoid survive
Back to top
View user's profile Send private message
DanBUK
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2003
Posts: 105
Location: London, UK

PostPosted: Thu Oct 16, 2003 8:01 pm    Post subject: Reply with quote

ixion wrote:

Using /modules/cloop.o
insmod: unresolved symbol zlib_inflate_workspacesize_Rce5ac24f
insmod: unresolved symbol zlib_inflateEnd_R9ef45f92
insmod: unresolved symbol zlib_inflate_R64cf8602
insmod: unresolved symbol zlib_inflateInit_R456e911d
insmod: unresolved symbol zlib_inflateReset_Ref76d642
mount: Mounting /dev/cloop on /newroot/mnt/cloop failed: No such device or address
It looks like youve changed kernels but havent rerun all the initrd steps, or if your new kernel doesnt have zlib compiled inside(you need to disable encryption i think for that) it will break also.
ixion wrote:

I also have a couple questions. Would I be able to have the keymap select eliminated. I would like the CD to boot to a linux system without any interaction. Is this possible? Secondly, can I have custom scripts run on bootup?

Yep, if you take a look at the global/linuxrc you will see a section for the keymaps, and for the scsi, about 2/3 down. comment out the keymaps, and scsi if you want. Then whist "enter" the chroot, edit the /etc/rc.conf for the correct keymap, run rc-update add keymaps default , and any others you might want. You can also edit the /etc/conf.d/local.start and .stop for extra commands at boot/shutdown.

Cheers,
Daniel.


Last edited by DanBUK on Sun Nov 09, 2003 7:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
[ToXiC]
n00b
n00b


Joined: 29 Jul 2003
Posts: 46
Location: Fresno, CA

PostPosted: Thu Oct 16, 2003 8:59 pm    Post subject: LiveCD/USB Stick - 2.6 kernel Reply with quote

I am interested in trying to get a LiveCD with the 2.6 kernel... Does anyone or has anyone been able to do this. Where where any errors while useing "livecd-ng"?
-[ToXiC]
Back to top
View user's profile Send private message
DanBUK
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2003
Posts: 105
Location: London, UK

PostPosted: Fri Oct 17, 2003 12:18 pm    Post subject: FORKED fb-livecd Reply with quote

Hi All,
I have just released a newer version of the livecd script, as i has undergone so many changes i have also renamed/forked it. fb-livecd .
More details: https://forums.gentoo.org/viewtopic.php?p=591401

Cheers,
Daniel.


Last edited by DanBUK on Sun Nov 09, 2003 7:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
Fraggle
Apprentice
Apprentice


Joined: 13 Mar 2003
Posts: 187
Location: Washington, DC

PostPosted: Mon Nov 03, 2003 1:52 pm    Post subject: Reply with quote

I am getting the following error...Any ideas what I did wrong?

Code:

EXT2-fs error (device ramdisk(1,0)): ext2_read_inode: unable to read inode block - inode=96865, block=98115
Warning: unable to open an initial console.
EXT2-fs error (device ramdisk(1,0)): ext2_read_inode: unable to read inode block - inode=16145, block=16355
Kernel panic: No init found. Try passing init= option to kernel.


It is driving me nuts!
Back to top
View user's profile Send private message
Aproxx
Apprentice
Apprentice


Joined: 25 Jul 2003
Posts: 272

PostPosted: Thu Nov 06, 2003 4:30 pm    Post subject: Reply with quote

Hello!
I had aborted the livecd-ng fetch because it stopped to download. But when I try to restart it, there comes the message: Using working directory as LIVECD_ROOT.
What could I do?
Back to top
View user's profile Send private message
Fraggle
Apprentice
Apprentice


Joined: 13 Mar 2003
Posts: 187
Location: Washington, DC

PostPosted: Thu Nov 06, 2003 7:51 pm    Post subject: Reply with quote

Aproxx wrote:
Hello!
I had aborted the livecd-ng fetch because it stopped to download. But when I try to restart it, there comes the message: Using working directory as LIVECD_ROOT.
What could I do?


Just remove the partial download.
Back to top
View user's profile Send private message
Aproxx
Apprentice
Apprentice


Joined: 25 Jul 2003
Posts: 272

PostPosted: Thu Nov 06, 2003 11:26 pm    Post subject: Reply with quote

oh, thx!
Back to top
View user's profile Send private message
laffel
n00b
n00b


Joined: 17 Oct 2002
Posts: 43
Location: Switzerland

PostPosted: Sun Nov 09, 2003 6:00 pm    Post subject: Reply with quote

Since several days I'm trying to bring the livecd up and running.
With the new 1.1 livecd-ng I was able to create the iso image but now I've got always an error when booting it.

Code:
 
* Checking root filesystem...                  [ok]
* Remounting root filesystem read/write...
* Root filesystem could not be mounted R/W :(    [!!]


Where is the worm?
Back to top
View user's profile Send private message
DanBUK
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2003
Posts: 105
Location: London, UK

PostPosted: Sun Nov 09, 2003 7:28 pm    Post subject: Reply with quote

laffel wrote:
Since several days I'm trying to bring the livecd up and running.
With the new 1.1 livecd-ng I was able to create the iso image but now I've got always an error when booting it.

Code:
 
* Checking root filesystem...                  [ok]
* Remounting root filesystem read/write...
* Root filesystem could not be mounted R/W :(    [!!]


Where is the worm?


Umm Im not sure, could you try out the 1.2 version: http://livecd.lockedbox.net/
There were lots of changes between 1.1 and 1.2

Regards,
Daniel.

EDIT - It kinda looks like your using an earlier version of the chkroot script.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 5 of 8

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum