anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#16
Does decice.map point to sd or hd?
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#17
(hd0) /dev/sda
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#18
The fstab should look something like this:

Code: Select all

# Pluggable devices are handled by uDev, they are not in fstab
UUID=1947f7e6-a22e-497c-922d-f666427472e2 / ext4 defaults,noatime 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
UUID=dbe156d6-0bfb-4bb6-ae43-73e7021215e2 swap swap sw, 0 0
UUID=2c53bf5a-8caa-4534-beb1-f5aa04050918 /media/sda3 ext3 auto,users,exec,relatime 0 0
UUID=f56325d7-99bc-4d6d-b84d-b81554a404dd /media/sdb3 ext3 noauto,users,exec,relatime 0 0
UUID=fd819db3-054f-4ff2-9fb7-5b72c0972cb1 /media/sdb4 ext3 auto,users,exec,relatime 0 0
# /dev/sdb1 /media/sdb1 ext4 noauto,users,exec,relatime 0 0
UUID=9b2548a5-619d-4657-b62c-961ac004275d /media/sdb1 ext4 noauto,users,exec,relatime 0 0
# /dev/sdb2 /media/sdb2 ext4 noauto,users,exec,relatime 0 0
UUID=1db9369f-1710-4137-bd62-209cbf3df2fd /media/sdb2 ext4 noauto,users,exec,relatime 0 0
/dev/sr0 /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0

Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#19
If I had read anti's post in the chat, I would have got this done sooner, but had to do it the hard way,

With two kernels Mepis and Liquorix seeing the drives differently (hda) (sda),
all you need to do in antiX is to use the UUID entries in your menu.lst and append whatever cheats you need
then change your /etc/fstab to use UUID
then go to /media and create your folders disk1part1 or sda, or hda, whatever.just be sure to use the same conventions you did in fstab.
Reboot and it works.

cheers,
ohh
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#20
To follow up on Antis and OHH posts. I edited my /etc/fstab as so

Code: Select all

# Pluggable devices are handled by uDev, they are not in fstab
UUID=3fe7d362-f455-43a0-9eb6-d60231f24be2 / ext3 defaults,noatime 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
# Dynamic entries below
UUID=1A20A02E20A01335 /mnt/hda1 ntfs-3g auto,users,gid=users,dmask=002,fmask=113,relatime 0 0
UUID=38d34375-a4c6-4fda-bcc7-736eeb487061 swap swap sw,pri=1 0 0
UUID=93317189-8b9c-440a-9224-0799fa567f9b /mnt/hda6 ext3 auto,users,exec,relatime 0 0
UUID=4B5F-B945 /mnt/hda7 vfat auto,users,gid=users,dmask=002,fmask=113,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
which now fixes mounting in thunar for all my internal partitions between between 2.6.32 and 2.6.38 kernels.
Now. If I can just figure out what to do about conky in 2.6.38 kernel. __{{emoticon}}__ Temp readout OK in conky in 2.6.32 kernel. I am picking up acpi in 2.6.38. See below

Code: Select all

@bikertest3:~$ acpi -t
Thermal 0: ok, 66.8 degrees C
conky entry is

Code: Select all

Motherboard: ${color e0e0e0}${acpitemp}°C${color}
and like mentioned in previous posts. Works for 2.6.32. Not for 2.6.38

EDIT

Fixed in 2.6.38 with

Code: Select all

Motherboard: ${color e0e0e0}${hwmon 0 temp 1}°C${color} 
Haven't booted into 2.6.32 yet to test though. UPDATE Works for 2.6.32 also. Finally. I am done. You can put a fork in me. __{{emoticon}}__
Posts: 27
griennehornette
Joined: 20 May 2010
#21
Greetings all.

Griennehornette here. Up to my old tricks: noob-fiddling-with-stuff-until-it-breaks. This weekend, I tried updating the repos for my desktop, from lenny to testing. I (was) running MEPIS 8.5, and saw some posts about people using newer versions of debian. 'Course my first mistake was forgetting that lenny is now old; and testing is no longer squeeze. Updating from lenny to wheezy might be part of my woes.

Anyhoo, after a buncha messages from apt/synaptic - which I really didn't understand but decided I was fit to answer"yes" or"no" to - I found myself with an updated system that would not boot. Tried all kinds of things (most likely making a bad situation worse along the way) including re-installing MEPIS 8.5, to go back to lenny. That seemed to work briefly (although things were still going funny) until I decided to try updating to stable/squeeze.

Again, couldn't boot. I've been checking forums from all kinds of distros. One theme seems to be issues which pop-up around upgrading libc6. Downgrading libc6 to older versions has worked for lots of people. I couldn't figure out how to do it.

After many frustrating hours, and my wife beginning to show body-language which I translate as meaning she's close to tossing my computer over a cliff, I decided to abandon trying to understand stuff that's way over my head, and go totally antiX. gparted my drive partitions (dumping both the WinXP partition I had kept"just in case" along with MEPIS 8.5) and installed antiX 8.5 full.

I came close to tossing my computer over a cliff on behalf of my wife, when I did a full apt-get dist-upgrade, and again was left unable to boot.

Instead, I re-installed antiX, and have not upgraded everything through apt. I have ever-so-cautiously added my usual software, with a wary eye on libc6. I can't even install the plugins for Claws Mail, as they require libc6 to be upgraded.

I checked this post, partly because Rok was talking about /root and /home on separate partitions; which is the case on my desktop. But here's the thing: on my Asus 1001P netbook - which has separate root and home partitions - antiX works like a charm, and I apt-get dist-upgrade a couple of times per week. No problems.

I don't understand the UUID stuff posted here; but my gut tells me it's the answer. Somehow along the way, my netbook install picked-up the UUID stuff, without my conscious intervention. I have actually wondered for some time what the freaky UUID lines on my grub page meant. I don't know how they got there; or at least have thoroughly forgotten. I don't even know what UUID means; and was acuatlly worried when I first noticed the lengthy set of numbers on my grub page.

Looks like that weird set of numbers is allowing me to boot on my netbook. Now I just gotta figure-out how to apply the same stuff to my desktop....

Tomorrow. My brain is fried; my eyes feel like sandpaper; and if I don't peel away from my computer, my wife is going to decide to throw me over the cliff, never mind the machine!

Chris
Posts: 27
griennehornette
Joined: 20 May 2010
#22
The plot thickens.

Booted-up today, and once again, my screen resolution setting was not saved. Ever since I borked my system, each new boot goes back to a consistent screen resolution which is not the one I want. I change it, and it doesn't stick.

So I changed it again, and lost the visibility of my mouse pointer. Managed to log-out using keyboard only (moment of pride), and same thing happened when I logged back in.

Nearing despair, I used alt-Print Scr-REISUB 'cause I couldn't see my mouse, and turned-on my old computer to work from there. The REISUB thing reboots, and I looked for a way to just shut-down at GRUB. Something caught my attention!

I installed Grub 2 - which I still don't understand - and the GNU/Linux options use the UUID thing! Booted with the first one, and no mouse problems after adjusting my screen! I haven't rebooted, but I'm going to bet my screen resolution gets saved this time!

This UUID stuff seems fairly important...

I'm off to investigate. If anyone reads this, and happens to understand the UUID stuff; feel free to enlighten me __{{emoticon}}__

griennehornette (Chris)
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#23
On my dist-upgrades. I was given a choice of using grub legacy 1.99 or grub 2. It rewrote the grub screen (splash) and installed a ton of crap in /boot/grub folder like a million .mod files (which I deleted). I still boot grub legacy though with a ugly splash screen. As long as I don't run

Code: Select all

upgrade-from-grub-legacy
grub 2 will just sit there un-installed. That is how my dist-upgrade and kernel upgrade went GH.

All this will become moot though GH as this was done more as a test and learning experience as I am downloading new patch 3 and new iso as I am typing this. Did all of above as practice so as when I start installing AntiX 11 Golden Super Lean and Mean Final. I will be comfortable with apt-get dist-upgrade, smxi, sgfxi on my new installs. __{{emoticon}}__
Posts: 27
griennehornette
Joined: 20 May 2010
#24
Hey Rok!

Thanks for the reply. Yeah, I noticed that grub2 loaded a buncha crap in /boot/grub.

What's the new"patch 3"? What new iso are you downloading? Is version 11 in final now? If so, I'll breathe a big sigh of relief!

GH
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#25
griennehornette wrote:Hey Rok!

Thanks for the reply. Yeah, I noticed that grub2 loaded a buncha crap in /boot/grub.

What's the new"patch 3"? What new iso are you downloading? Is version 11 in final now? If so, I'll breathe a big sigh of relief!

GH
I'm downloading the FULL iso and patch 3 from

patches-for-antix-m11-rc3-available-t3066.html
Posts: 27
griennehornette
Joined: 20 May 2010
#26
Here's a question: are you gonna have separate root and home partitions? If so, do you have to use all the UUID stuff?

I do like the idea of a separate home partition. Makes backup easier.

GH
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#27

Code: Select all

are you gonna have separate root and home partitions
Nope. I seem to have trouble with updating to Liqourix Kernel with seperate /home partition. Boot in newer kernel fails fsck when it gets to /home saying no ext2 file system present so it states I have bad blocks when I don't.
I haven't tried out yet Antis newer 2.6.36 kernel iso yet. So jury is out on that till I test.
If so, do you have to use all the UUID stuff
After practicing with

Code: Select all

bklid


and editing /etc/fstab numerous times. I am comfortable using UUID to precisely point /etc/fstab to whatever I want mounted in /mnt at bootup on my muti-boot computers. So for me it is a must. For you. Maybe not.
Posts: 27
griennehornette
Joined: 20 May 2010
#28
I don't mind doing the UUID thing. I just don't understand why I never had this problem with my netbook - which has separate root and home partitions - versus my desktop.

Maybe I'll wait until antiX 11 is finalized, then load it up.

BTW Rok, if using UUID is a must in your opinion; then I consider it important. You know a ton more about this stuff than me.

GH __{{emoticon}}__
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#29
I just don't understand why I never had this problem with my netbook
Title of this thread explains my problem but I muti-boot Windows XP, Puppy Linux, and AntiX 11 rc3 on the Laptop in this thread. My problems were particular to how I had this Panasonic set up. If you have not ran smxi and upgraded to the Liqourix 2.6.38-3 kernel. Then you won't encounter these problems with a seperate /home partition. If just running stock 2.6.32-mepis-smp kernel. You are OK with fstab or whatever.

UPDATE/EDIT Blew away AntiX Beta2 Test today and 3 Puppy Linux installs. Just running AntiX 11 Patch 3 with 3.6.36 Kernel and Macpup Puppy Linux. So I'm out of this thread as I don't have the above posts installed anymore.
Posts: 27
griennehornette
Joined: 20 May 2010
#30
Hmmm. I'll take your word for it, rok. i.e. the title of the thread is a bit over my head. Not sure what smxi is. I can't remember if I ever ran smxi on the netbook. I did install the liquorix kernel on the netbook.

Wait! Light bulb. (Dim wattage, in my particular brain...) You mentioned something about having MEPIS and liquorix kernels... I just have the liquorix one; so there was no cross-kernelling.

One thing I have thought of in hindsight: it was dumb of me to try mucking about with 8.5, when it is no longer the focus of the community. Should have just waited for 11...

But you mentioned something about learning and becoming more comfortable with stuff. While that was not my intention; I did learn quite a bit this weekend. As the saying goes; necessity is the mother of invention (or learning linux in my case). __{{emoticon}}__

Chris