topic title: liquorix kernel
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#1
Have reinstalled antiX-M8.5 on my test partition on my laptop, and did a du, then replaced firehol with gufw.
Then installed via synaptic 2.6.35-4.dmz.1-liquorix-686 kernel & headers added to menu.lst and then rebooted tried to boot with the liquorix kernel, would not boot until I changed hda1 to sda1, but since fstab was setup under the mepis kernel all entries are for hda, therefore I had no swap and mount problems with the liquorix kernel, anybody run into this and if so, got any suggestions.

cheers,
ohh
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#2
ohh,

I think you can specify your partitions by uuid in fstab instead of by /dev/xda.
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#3
ls -l /dev/disk/by-uuid/

Then edit /etc/fstab as it should be.

(BTW any time you format your partitions, do this again)

As an example:
UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx /home ext4 defaults 0 0
UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx none swap sw 0 0
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#4
Thanks secipolla,

I have been playing with this for a few days trying all sorts of iterations to get rid of error messages and to have the ability to have my other partitions mounted automagically, the swap was the one eluding me and your post was right on about swap.

For those interested here's my original fstab,

Code: Select all

# Pluggable devices are handled by uDev, they are not in fstab
/dev/hda1 / ext3 defaults,noatime 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
# Dynamic entries below
/dev/hda2 swap swap sw, 0 0
/dev/hda3 /mnt/hda3 ext3 noauto,users,exec,relatime 0 0
/dev/hda4 /mnt/hda4 ext3 noauto,users,exec,relatime 0 0
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/hdc /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
and here's my new fstab that works, with hda3 and hda4 automounted:

Code: Select all

# Pluggable devices are handled by uDev, they are not in fstab
#/dev/hda1 / ext3 defaults,noatime 1 1
UUID=1d646d5b-80ca-45c7-97b1-8bfee239217f  / ext3 defaults,noatime 1 1
#/dev/hda2 swap swap sw, 0 0
UUID=920fa68f-9927-4ff1-94d3-ad50223761ed none swap sw, 0 0
#/dev/hda3 /mnt/hda3 ext3 noauto,users,exec,relatime 0 0
UUID=5b50f846-702c-4623-ba84-f17679ff7487  /mnt/hda3 ext3 auto,users,exec,relatime 0 0
#/dev/hda4 /mnt/hda4 ext3 noauto,users,exec,relatime 0 0
UUID=c4c70069-f194-4662-a29c-d416547aff3a /mnt/hda4 ext3 auto,users,exec,relatime 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
# Dynamic entries below
/dev/hda2 swap swap sw, 0 0
/dev/hda3 /mnt/hda3 ext3 noauto,users,exec,relatime 0 0
/dev/hda4 /mnt/hda4 ext3 noauto,users,exec,relatime 0 0
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/hdc /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
So now that I finally have that sorted I'm going to continue to test and tweak this install, here's the info:
(the uptime is a little misleading as I have rebooted many times to try out a new fstab)

Code: Select all

bobbylee@antiX1:~$ inxi -F
System:    Host antiX1 Kernel 2.6.35-4.dmz.1-liquorix-686 i686 (32 bit) Distro antiX-M8.5-686-update 27 July 2010
CPU:       Single core Intel Pentium M (-UP-) cache 2048 KB flags (sse sse2) bmips 3588.45 clocked at 1800.00 MHz 
Graphics:  Card Intel 82852/855GM Integrated Graphics Device X.Org 1.7.7 Res: 1024x768@0.0hz 
           GLX Renderer Software Rasterizer GLX Version 2.1 Mesa 7.7.1 Direct Rendering Yes
Audio:     Card Intel 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller driver Intel ICH at ports 1c00 18c0 BusID: 00:1f.5
           Sound: Advanced Linux Sound Architecture Version 1.0.23
Network:   Card-1 Broadcom BCM4401-B0 100Base-TX driver b44 v: 2.0 BusID: 02:05.0
           Card-2 Intel PRO/Wireless 2915ABG [Calexico2] Network Connection driver ipw2200 v: 1.2.2kmprq BusID: 02:01.0
Disks:     HDD Total Size: 80.0GB (12.4% used) 1: /dev/sda FUJITSU_MHT2080A 80.0GB 
Partition: ID:/ size: 24G used: 2.3G (11%) fs: ext3 ID:swap-1 size: 4.34GB used: 0.00GB (0%) fs: swap 
Info:      Processes 104 Uptime 12 min Memory 116.3/992.7MB Runlevel 5 Client Shell inxi 1.4.14 
I had preiously had some weird messages running firehol, so I stopped firehol and changed startup to no, then installed gufw and ufw, then using smxi did a du, installed the liqourix kernel and then began trying to fix the fstab problems.

Now I need to test how the original kernel will behave with these fstab changes. Will update this thread with any findings.

edit: original kernel boots fine.

cheers,
ohh
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#5
I put those lines quickly, actually my /home partition has"0 2" at the end of the line and my / partition has"0 1".