anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#1
For those using antiX-13 series with the 3.7.10 kernel, you should update the latest in the antiX stable repositories.
The updated kernel fixes the bug of building applications that need to be built with Wheezy's libs and gcc.

Without going into the details, if you want to run antiX-13 series tied to Wheezy and want to install for example Virtualbox and nvidia drivers, you MUST install the latest 3.7.10.antix.7 kernel for your architecture.

If you are running Testing or Sid repos, it is not needed. Users can also install much more up to date kernels. 3.11.5 is available and 3.12.0 is being worked on.

The kernel must be installed 'man'ually.

Here is the way to do it in a root terminal.

You antix.list in etc/apt/sources.d should look like this:

Code: Select all

 
# Use with Debian Wheezy repository. Set as default for antiX-13.2.
 deb http://antix.daveserver.info/stable stable main  
 # Use with Debian Testing (or Sid) repositories.
 #deb http://antix.daveserver.info/testing testing main 
32 bit:

Code: Select all

apt-get update && apt-get install linux-image-3.7.10-antix.7-486-smp linux-headers-3.7.10-antix.7-486-smp 
64 bit:

Code: Select all

apt-get update && apt-get install linux-image-3.7.10-antix.7-amd64-smp linux-headers-3.7.10-antix.7-amd64-smp 
Then you will need to update the grub menu. This is if using default antiX grub.

Code: Select all

 update-grub 
For a gui way to do this using synaptic, see the post by pcpavnz here:

how-to-upgrade-a-kernel-t4691.html
Posts: 19
pcpavnz
Joined: 09 Nov 2012
#2
Note, post upgrade, check your /boot/grub/menu.lst

On mine, update-grub only added the entry for the later kernel, it was not set as the default boot option, which turned out OK for me because I was able to test it first, found my ATI graphics failed, but had to keep on working, so I simply rebooted into the older kernel and will address the issue when I have time.

Code: Select all

timeout 5
color cyan/blue white/blue
foreground ffffff
background 0639a1

gfxmenu /boot/grub/message

title  antiX at sda1, kernel 3.7.10-antix.5-amd64-smp
root   (hd0,0)
kernel /boot/vmlinuz-3.7.10-antix.5-amd64-smp root=/dev/sda1 quiet
initrd /boot/initrd.img-3.7.10-antix.5-amd64-smp
boot

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## comments removed for this post##

title        Debian GNU/Linux, kernel 3.7.10-gnu-antix.7-amd64-smp
root        (hd0,0)
kernel        /boot/vmlinuz-3.7.10-gnu-antix.7-amd64-smp root=UUID=5a51638a-5da5-4bd4-9b9e-c76dada299c8 ro 
initrd        /boot/initrd.img-3.7.10-gnu-antix.7-amd64-smp

title        Debian GNU/Linux, kernel 3.7.10-gnu-antix.7-amd64-smp (init-3)
root        (hd0,0)
kernel        /boot/vmlinuz-3.7.10-gnu-antix.7-amd64-smp root=UUID=5a51638a-5da5-4bd4-9b9e-c76dada299c8 ro 3
initrd        /boot/initrd.img-3.7.10-gnu-antix.7-amd64-smp

title        Debian GNU/Linux, kernel 3.7.10-antix.7-amd64-smp
root        (hd0,0)
kernel        /boot/vmlinuz-3.7.10-antix.7-amd64-smp root=UUID=5a51638a-5da5-4bd4-9b9e-c76dada299c8 ro 
initrd        /boot/initrd.img-3.7.10-antix.7-amd64-smp

title        Debian GNU/Linux, kernel 3.7.10-antix.7-amd64-smp (init-3)
root        (hd0,0)
kernel        /boot/vmlinuz-3.7.10-antix.7-amd64-smp root=UUID=5a51638a-5da5-4bd4-9b9e-c76dada299c8 ro 3
initrd        /boot/initrd.img-3.7.10-antix.7-amd64-smp

title        Debian GNU/Linux, kernel 3.7.10-antix.5-amd64-smp
root        (hd0,0)
kernel        /boot/vmlinuz-3.7.10-antix.5-amd64-smp root=UUID=5a51638a-5da5-4bd4-9b9e-c76dada299c8 ro 
initrd        /boot/initrd.img-3.7.10-antix.5-amd64-smp

title        Debian GNU/Linux, kernel 3.7.10-antix.5-amd64-smp (init-3)
root        (hd0,0)
kernel        /boot/vmlinuz-3.7.10-antix.5-amd64-smp root=UUID=5a51638a-5da5-4bd4-9b9e-c76dada299c8 ro 3
initrd        /boot/initrd.img-3.7.10-antix.5-amd64-smp

title        Debian GNU/Linux, kernel memtest86+
root        (hd0,0)
kernel        /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST
Simply copy and replace your preferred boot stanza into the top position under"gfxmenu /boot/grub/message"
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#3
pcpavnz wrote:Note, post upgrade, check your /boot/grub/menu.lst

On mine, update-grub only added the entry for the later kernel, it was not set as the default boot option, which turned out OK for me because I was able to test it first, found my ATI graphics failed, but had to keep on working, so I simply rebooted into the older kernel and will address the issue when I have time.

Simply copy and replace your preferred boot stanza into the top position under"gfxmenu /boot/grub/message"
On mine. I simply erase the top stanza (left click, highlight, and click)

Code: Select all

title  antiX at sda1, kernel 3.7.10-antix.5-amd64-smp
root   (hd0,0)
kernel /boot/vmlinuz-3.7.10-antix.5-amd64-smp root=/dev/sda1 quiet
initrd /boot/initrd.img-3.7.10-antix.5-amd64-smp
boot
and that way when I upgrade the kernel. My newest just shows at the top of the list automagically.
Posts: 10
nikos.ontheroad
Joined: 28 Sep 2013
#4
Hm, I can't upgrade trying root terminal or synaptics __{{emoticon}}__
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#5
nikos.ontheroad wrote:Hm, I can't upgrade trying root terminal or synaptics __{{emoticon}}__
After a install. The first thing I do as root in terminal is

Code: Select all

apt-get update
See what happens after that.
Posts: 10
nikos.ontheroad
Joined: 28 Sep 2013
#6
i've done that, no problems there...I think i ve updated the kernel too, but it won't show up on boot choices at all. Also when i try to update-grub i get"bash: update-grub: command not found"
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#7
update-grub as root user
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#8

Code: Select all

sudo update-grub
does not work
or

Code: Select all

sux
password

Code: Select all

update-grub
does not work?

I am more long winded than Anti. __{{emoticon}}__
Posts: 10
nikos.ontheroad
Joined: 28 Sep 2013
#9
ok it worked...I thought that using root terminal was enough! Now i have to edit /boot/grub/menu.lst right?
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#10
nikos.ontheroad wrote:ok it worked...I thought that using root terminal was enough! Now i have to edit /boot/grub/menu.lst right?
antixcc>system>edit config

password

menu.lst tab.
Posts: 10
nikos.ontheroad
Joined: 28 Sep 2013
#11
Hey I managed! Thanksa lot guys!
Posts: 667
jdmeaux1952
Joined: 01 Nov 2013
#12
Here is mine after the update of the kernel.



title Debian GNU/Linux, kernel 3.7.10-antix.7-486-smp
root (hd0,0)
kernel /boot/vmlinuz-3.7.10-antix.7-486-smp root=UUID=c7c10726-d8d5-49bd-8e6e-907b198204c8 ro
initrd /boot/initrd.img-3.7.10-antix.7-486-smp
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#13
If you don't like all the extra scrolling output at boottime, add the"quiet" cheat code to your kernel boot line.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#14
Just a install before breakfast. Gotta eat ya know.

Code: Select all

$ inxi -Fxz
System:    Host: biker Kernel: 3.12.1-antix.1-amd64-smp x86_64 (64 bit, gcc: 4.8.2) 
           Desktop: IceWM 1.3.7 Distro: antiX-13-rc1_x64-full Luddite 3 May 2013
Machine:   System: LENOVO product: 6075BHU version: ThinkCentre M57
           Mobo: LENOVO model: LENOVO Bios: LENOVO version: 2RKT41AUS date: 03/20/2008
CPU:       Dual core Intel Pentium Dual CPU E2160 (-MCP-) cache: 1024 KB flags: (lm nx sse sse2 sse3 ssse3) bmips: 7182.74 
           Clock Speeds: 1: 1200.00 MHz 2: 1800.00 MHz
Graphics:  Card: Intel 82Q35 Express Integrated Graphics Controller bus-ID: 00:02.0 
           X.Org: 1.14.3 drivers: intel (unloaded: fbdev,vesa) Resolution: 1600x900@60.0hz 
           GLX Renderer: Mesa DRI Intel Q35 GLX Version: 2.1 Mesa 9.2.2 Direct Rendering: Yes
Audio:     Card: Intel 82801I (ICH9 Family) HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0 
           Sound: Advanced Linux Sound Architecture ver: k3.12.1-antix.1-amd64-smp
Network:   Card-1: Ralink RT2561/RT61 802.11g PCI driver: rt61pci ver: 2.3.0 bus-ID: 11:0c.0
           IF: wlan0 state: up mac: <filter>
           Card-2: Intel 82566DM-2 Gigabit Network Connection driver: e1000e ver: 2.3.2-k port: 1820 bus-ID: 00:19.0
           IF: eth0 state: down mac: <filter>
Drives:    HDD Total Size: 80.0GB (24.8% used) 1: id: /dev/sda model: ST380815AS size: 80.0GB 
Partition: ID: / size: 41G used: 19G (48%) fs: ext4 ID: swap-1 size: 3.27GB used: 0.00GB (0%) fs: swap 
Sensors:   System Temperatures: cpu: 43.0C mobo: N/A 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 110 Uptime: 1 min Memory: 139.3/1980.8MB Runlevel: 5 Gcc sys: 4.8.2 
           Client: Shell (bash 4.2.45) inxi: 1.9.16 
I know sound worked at least when I rebooted. Buiscuits and Gravy time for me with Chocolate milk.