LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-18-2010, 07:43 AM   #256
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470

The new Mini Slackware based editions are ready today

Both now feature the official Slackware 2.6.35.7-smp kernel patched only with aufs2 and squashfs-lzma!
Reduced the MiniSC to 177MB!
Reduced the MiniSCR to 325MB!

These little offshoots are great for running "copy2ram" and being able to work without being attached to hdd or usb/cd!

both also come with scripts to make a isolinux iso (default) or to make a grub legacy iso!

you can get both here
http://multidistro.com/NFLUXNEW/SQ4/slack.html

Haven't heard if anyone's tried either one, but if you do please post your experiences!

MiniSC screenshot
http://linux.softpedia.com/screensho...d-Rescue_1.jpg

MiniSCR screenshot
http://linux.softpedia.com/screensho...d-Rescue_2.jpg

Also, the next release of the big nFluxOS Slackware and ARCH versions will also feature the Slackware smp kernel, as I made the Slackware smp source into a AUR pkg also for ARCH livecd media!
http://aur.archlinux.org/packages.php?ID=41875
 
Old 10-19-2010, 04:21 AM   #257
lq_asking
Member
 
Registered: May 2010
Location: Berlin
Posts: 82

Rep: Reputation: 16
Quote:
Originally Posted by linus72 View Post
Also, the next release of the big nFluxOS Slackware and ARCH versions will also feature the Slackware smp kernel, as I made the Slackware smp source into a AUR pkg also for ARCH livecd media!
http://aur.archlinux.org/packages.php?ID=41875
Very interesting news. Godane's Archlive 20100825 has the module "a.001.core.lzm" in his "base"-directory. Could that be remastered with your (compiled) kernel? Simply include the same directories as in "a.001.core.lzm"?
 
Old 10-19-2010, 06:41 AM   #258
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
uh
i'm not sure lq_asking...

whats in the core.lzm?

if it has all the kernel,etc stuff in it I would guess so...
tell me if it works or what issues...
 
Old 11-02-2010, 07:01 PM   #259
lq_asking
Member
 
Registered: May 2010
Location: Berlin
Posts: 82

Rep: Reputation: 16
Quote:
Originally Posted by linus72 View Post
Also, the next release of the big nFluxOS Slackware and ARCH versions will also feature the Slackware smp kernel, as I made the Slackware smp source into a AUR pkg also for ARCH livecd media!
http://aur.archlinux.org/packages.php?ID=41875
This is the first time I tried to make a package with makepkg.

I tried to build a brand-new liquorix kernel under Godane's Archlive 20100825 distro:

http://aur.archlinux.org/packages.php?ID=39882

The build process doesn't find a necessary source though and so stops.

Because the error-output is in german, here is my translation:

Quote:
...
INSTALL /mnt/sda9/liquorix/pkg/lib/firmware/yam/9600.bin
DEPMOD 2.6.36-lqx
cp: calling stat for „drivers/media/video/zc0301/*.h“ not possible: file or directory not found
I terminate ...
Comment: I don't really need camera drivers. So as a next step I would like to simply not build these camera-drivers.

But I don't know where to configure the kernel in a PKGBUILD.

There are two config-files generated by makepkg in the PKGBUILD-directory:

config.amd64 and config.i386,

and then there is the standard config-file in the kernel-source-directory:

src/linux-2.6.36/.config.

I even don't know if I really have built a 32-bit or a 64-bit-kernel as far as I came ...

Last edited by lq_asking; 11-02-2010 at 07:03 PM.
 
Old 11-03-2010, 03:53 AM   #260
lq_asking
Member
 
Registered: May 2010
Location: Berlin
Posts: 82

Rep: Reputation: 16
Quote:
Originally Posted by lq_asking View Post
...
I tried to build a brand-new liquorix kernel under Godane's Archlive 20100825 distro:

http://aur.archlinux.org/packages.php?ID=39882

The build process doesn't find a necessary source though and so stops.
Sorry, the solution is just in place:
http://aur.archlinux.org/packages.php?ID=39882

I shall build this kernel again.
 
Old 11-03-2010, 05:43 AM   #261
lq_asking
Member
 
Registered: May 2010
Location: Berlin
Posts: 82

Rep: Reputation: 16
For a successful build a further editing of PKBUILD was necessary:

The changed PKBUILD creates also new config.i386/config.amd364 files.
Their changed sha256sums have to be inserted into PKBUILD.
 
Old 11-03-2010, 07:24 AM   #262
lq_asking
Member
 
Registered: May 2010
Location: Berlin
Posts: 82

Rep: Reputation: 16
http://liquorix.net/sources/36.0-5.patch.gz

works as well. Compared to the changes from above for the 36.0-4-patch I had to change only the patch-filename and its sha256sum in PKGBUILD.
 
Old 11-03-2010, 02:47 PM   #263
lq_asking
Member
 
Registered: May 2010
Location: Berlin
Posts: 82

Rep: Reputation: 16
@linus72
I have bookmarked your manual-instructions:

http://multidistro.com/faqfiles/arch-manual-install

I would like to use it for a harddisk-installation with the liquorix-kernel I have built.

Could you please send me a copy of this document by PM as your site is currently down?

Thanks.
 
Old 11-03-2010, 05:15 PM   #264
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Everyone, the newest versions are available to download
basic changelog
Quote:
ARCH Testing i686

Created and added kernel26-livecd from Slackware's smp 2.6.35.7 kernel source
kernel26-livecd is available in the AUR http://aur.archlinux.org/packages.php?ID=41875
Added XFCE4 Desktop
Added Chromium browser
Added GDM, user can choose to boot to GDM or Slim login
Added more fluxbox styles and more GTK themes/icons
Includes Grub2 and Lilo
Includes nflux-installer

Debian Sid i686

New Liquorix 2.6.36-0.dmz.4-liquorix-686 kernel and headers
Added USBPersistenceWizard
Added Google-Chrome browser
Added more fluxbox styles and more GTK themes/icons
Includes Remastersys hard drive installer

Slackware Current i686

New 2.6.35.7-smp-live kernel
Added XFCE4 Desktop
Added Google-Chrome browser
Added more fluxbox styles and more GTK themes/icons
Includes Grub2 and Lilo
Includes nflux-installer

Ubuntu 10.10 i686

New 2.6.35-22-generic kernel
Boots as an official Ubuntu livecd with user "ubuntu", etc
Includes Remastersys Backup
Lupin boot-from-iso support
lq_asking
thanks for all that info buddy

Yeah, I use the liquorix kernel in the newest Debian nFluxOS too
and am compiling the kernel26-lqx now
you had no problems compiling it?
did you do the make menuconfig option or just let it build using the config?

the basics of the maual-install allows you to install probably any linux distro to hard-drive, etc as your just copying the ramdisk or whatever to a partition,etc

so, whats cool is, say you boot up archiso-live, and make all kinds of changes during the live session, adding and/or removing software, desktop, etc
when you do the copying it will copy all changes you have made during the live session, so you can remaster it during live session, copy it to hard drive and have a customized system VS installing, customizing, then remastering.

Now, I now build all 4 nFluxOS versions + more from folders on my hard drive. in the screenshot you see the folders, and inside each one is a folder named "chroot" which holds the complete OS

here's edited commands for copying a distro to a folder, chrooting inside and doing updates, etc using console and/or Xnest

First, my folders are on sda1, which is my ARCH x86 partition

Code:
mkdir /target
mount /dev/sda1 /target

cp -R --preserve /bin /target/CHROOTS/slack32/chroot
cp -R --preserve /boot /target/CHROOTS/slack32/chroot
cp -R --preserve /dev /target/CHROOTS/slack32/chroot
cp -R --preserve /etc /target/CHROOTS/slack32/chroot
cp -R --preserve /home /target/CHROOTS/slack32/chroot
cp -R --preserve /lib /target/CHROOTS/slack32/chroot
cp -R --preserve /opt /target/CHROOTS/slack32/chroot
cp -R --preserve /root /target/CHROOTS/slack32/chroot
cp -R --preserve /sbin /target/CHROOTS/slack32/chroot
cp -R --preserve /srv /target/CHROOTS/slack32/chroot
cp -R --preserve /usr /target/CHROOTS/slack32/chroot
cp -R --preserve /var /target/CHROOTS/slack32/chroot
(if necessary, cp -R --preserve /lib64 /target/CHROOTS/slack32/chroot )
make other folders
Code:
mkdir -p /target/CHROOTS/slack32/chroot/media
mkdir -p /target/CHROOTS/slack32/chroot/mnt
mkdir -p /target/CHROOTS/slack32/chroot/opt
mkdir -p /target/CHROOTS/slack32/chroot/proc
mkdir -p /target/CHROOTS/slack32/chroot/sys
mkdir -p /target/CHROOTS/slack32/chroot/tmp
Mount, copy over and chroot into folder

Code:
cp -r /etc/resolv.conf /target/CHROOTS/slack32/chroot/etc
mount --bind /dev/ /target/CHROOTS/slack32/chroot/dev
mount -t proc none /target/CHROOTS/slack32/chroot/proc
mount -t sysfs none /target/CHROOTS/slack32/chroot/sys
mount -t devpts none /target/CHROOTS/slack32/chroot/dev/pts

export HOME=/root
export LC_ALL=C
chroot /target/CHROOTS/slack32/chroot
usr/bin/dbus-uuidgen --ensure
OR, if you want to start Xnest using fluxbox

Code:
cp -r /etc/resolv.conf /target/CHROOTS/slack32/chroot/etc
mount --bind /dev/ /target/CHROOTS/slack32/chroot/dev
mount -t proc none /target/CHROOTS/slack32/chroot/proc
mount -t sysfs none /target/CHROOTS/slack32/chroot/sys
mount -t devpts none /target/CHROOTS/slack32/chroot/dev/pts

export HOME=/root
export LC_ALL=C
Xnest -ac :2 &
chroot /target/CHROOTS/slack32/chroot/ env DISPLAY=":2" startfluxbox &
to get back out
Code:
exit
umount -l -f /target/CHROOTS/slack32/chroot/proc
umount -l -f /target/CHROOTS/slack32/chroot/sys
umount /target/CHROOTS/slack32/chroot/dev/pts
umount -l -f /target/CHROOTS/slack32/chroot/dev
umount /target
if using Xnest you dont need the "exit" command above...

This is how I made all 4 of the nfluxos versions, plus afterglowII and the mini slackware's too

also, say you made the liquorix kernel26-lqx and you did manual install and now there's "vmlinuz" in /boot, just chroot into partition you installed to as above and do
cd /boot
mv vmlinuz vmlinuz26-lqx
mkinitcpio -p kernel26-lqx
and it'll make the kernel26-lqx.img and kernel26-lqx-fallback.img (initrds)
tell me if you need anthing more..?

also, notice the new x86_64 kernel26-lqx in the terminal in the pic
Attached Thumbnails
Click image for larger version

Name:	chroot.png
Views:	12
Size:	232.7 KB
ID:	5073  

Last edited by linus72; 11-04-2010 at 05:57 AM.
 
Old 11-04-2010, 12:23 AM   #265
lq_asking
Member
 
Registered: May 2010
Location: Berlin
Posts: 82

Rep: Reputation: 16
Wow. Thanks for all your instructions. Will try it all tomorrow.

Quote:
Originally Posted by linus72 View Post
lq_asking
...
you had no problems compiling it?
Tried both Liquorix-patches: 36.0-4.patch.gz or 36.0-5.patch.gz.

makepkg

and

pacman -U kernel26-lqx-2.6.36-2-i686.pkg.tar.xz

go through without problems (the installed kernel by itself is of course not bootable in a live-environment). I shall have do the steps in your instructions for really using this kernel. I described the required corrections of PKBUILD in my previous posts.
Quote:
Originally Posted by linus72 View Post
did you do the make menuconfig option or just let it build using the config?
I didn't use make menuconfig but I would like to. I don't know how to do that when building with makepkg
Quote:
Originally Posted by lq_asking View Post
But I don't know where to configure the kernel in a PKGBUILD.

There are two config-files generated by makepkg in the PKGBUILD-directory:

config.amd64 and config.i386,

and then there is the standard config-file in the kernel-source-directory:

src/linux-2.6.36/.config.

Last edited by lq_asking; 11-04-2010 at 12:49 AM.
 
Old 11-04-2010, 05:17 AM   #266
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
hey lq_asking
you have to edit the PKGBUILD at line #62, just uncomment it

Quote:
# Configure the kernel. Replace the line below with one of your choice.
#make menuconfig # CLI menu for configuration
#make xconfig # X-based configuration
#make oldconfig # using old config from previous kernel version
# ... or manually edit .config
make menuconfig # CLI menu for configuration

However, after editing the build aborts when making package as some /media/video/z3osomething some kind of znamed module doesnt build...?!

OH, here's fx for that
Quote:
remove zc0301 from this block from PKGBUILD:

# add headers for lirc package
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video
cp drivers/media/video/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/
for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo zc0301; do
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
cp -a drivers/media/video/$i/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
done
also, you gotta do "make menuconfig" because using linux-live ext2/ext3 must be compiled in kernel, not as M modules or it wont boot live

will be trying to figure out why the build aborts....

bad news...the lqx kernel isn't working with the linux-live I have....it kinda freezes while trying to build the initrd and media...
can you try your kernel you made before doing menuconfig?

i wonder what squashfs version the lqx kernel is using??

Last edited by linus72; 11-04-2010 at 06:34 AM.
 
Old 11-05-2010, 08:31 AM   #267
lq_asking
Member
 
Registered: May 2010
Location: Berlin
Posts: 82

Rep: Reputation: 16
I used the last patch-set version 2.6.36-3

http://aur.archlinux.org/packages.php?ID=39882

and configured the kernel according your advice.
No compiling problems, no installation problems.

Code:
[root@archiso liq-36.0-5-sq]# pacman -U kernel26-lqx-2.6.36-3-i686.pkg.tar.xz
...
(1/1) Installing kernel26-lqx
>>> MKINITCPIO SETUP
>>> ----------------
>>> If you use LVM2, Encrypted root or software RAID,
>>> Ensure you enable support in /etc/mkinitcpio.conf .
>>> More information about mkinitcpio setup can be found here:
>>> http://wiki.archlinux.org/index.php/Mkinitcpio

>>> Generating initial ramdisk, using mkinitcpio.  Please wait...
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.36-lqx -c /etc/mkinitcpio.conf -g /boot/kernel26-lqx.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [autodetect]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26-lqx.img'...SUCCESS
==> SUCCESS
==> Building image "fallback"
==> Running command: /sbin/mkinitcpio -k 2.6.36-lqx -c /etc/mkinitcpio.conf -g /boot/kernel26-lqx-fallback.img -S autodetect
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26-lqx-fallback.img'...SUCCESS
==> SUCCESS
Optional dependencies for kernel26-lqx
    crda: to set the correct wireless channels of your country
[root@archiso liq-36.0-5-sq]# ls -l /boot
total 13676
drwxr-xr-x 2 root root      31 12. Jul 20:50 grub
-rw-r--r-- 1 root root 8198139  5. Nov 14:11 kernel26-lqx-fallback.img
-rw-r--r-- 1 root root 1455675  5. Nov 14:11 kernel26-lqx.img
drwxr-xr-x 2 root root      34  4. Jul 21:40 memtest86+
-rw-r--r-- 1 root root 1360935  5. Nov 10:29 System.map26-lqx
-rw-r--r-- 1 root root 2981600  5. Nov 10:29 vmlinuz26-lqx
Now I don't know how to boot this kernel in the live-environment.
 
Old 11-05-2010, 08:51 AM   #268
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
what do you mean you dont know how to boot into live environment?
you just boot off that kernel, make sure there's a symlink to vmlinuz26-lqx named "vmlinuz" so LLS can autofind the kernel, and run the build script in linux-live-6.3.0

I dont understand what problem your having??

EDIT: However, I hope you have ext2/ext3, etc compiled into kernel, not as [M]
and what version of squashfs is it? I couldn't get it to make a livecd when I tried with this kernel, it just kinda froze when making the initrd, tell me if yours works, etc

Last edited by linus72; 11-05-2010 at 09:42 AM.
 
Old 11-05-2010, 04:43 PM   #269
lq_asking
Member
 
Registered: May 2010
Location: Berlin
Posts: 82

Rep: Reputation: 16
Quote:
Originally Posted by linus72 View Post
However, I hope you have ext2/ext3, etc compiled into kernel, not as [M]
Yes, that's what I did. But I compiled SQUASHFS into the kernel - not as a module as seems to be needed. So LLS didn't work.
Quote:
and what version of squashfs is it?
4.0
 
Old 11-05-2010, 04:56 PM   #270
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
hey
which lls did you use?
why didnt lls work, what did it stop on?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux-oriented Intro Programming book? Munchkinguy Programming 8 10-16-2007 02:56 AM
LXer: Announcing Foresight Linux 0.9.9 LXer Syndicated Linux News 0 12-18-2006 02:21 AM
LXer: Announcing Foresight Linux 0.9.8.3 LXer Syndicated Linux News 0 10-30-2006 07:21 AM
LXer: Mobile audio editing powered by Linux, thanks to Trinity DAW LXer Syndicated Linux News 0 07-12-2006 12:03 AM
Announcing Slackware Linux 9.0! jeremy Slackware 1 03-20-2003 09:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration