LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   UUID, grub, and fstab (https://www.linuxquestions.org/questions/debian-26/uuid-grub-and-fstab-669905/)

radiodee1 09-14-2008 04:04 PM

UUID, grub, and fstab
 
HI,

I use lenny. Originally I started out with etch, and I full-upgrade'd. My fstab still shows my drives using the old convention (no UUID) and grub's menu.lst is the same way. How is it that some people complain that they cannot boot their computers without using the new format, and should I change around my grub and fstab to the newer variety. Also, do I have to change both at once? can I change just my grub menu.lst? Then can I change fstab at a later time?

I have this problem with the 2.6.26 kernels that they don't boot properly without 'maxcpus=0' on the grub kernel line. Would changing my menu.lst file to include UUIDs effect that kind of problem (positively or negatively)? Any help would be appreciated. Thanks in advance. :)

aus9 09-14-2008 09:21 PM

hi

I wasn't aware that UUID was an issue for some people?

2) Why don't you just add some extra lines to your /boot/grub/menu.lst and see it works without changing your fstab?

first go to /dev/disk/by-uuid and look closely at the links to ensure you point to the correct partition
and replace (string) with the real one as below

then add a line or two to test

kernel /boot/vmlinuz(version) root=UUID=(string) ro quiet vga=791
kernel /vmlinuz(version) root=UUID=(string) ro quiet vga=791
bottom line if you have a separate /boot partition

3) if you chose the new grub menu and it fails....then try changing your fstab.

Please make backups before changing and I assume you know how to use a live cd to rescue the old files if problems?

4) I am unable to help with maxcpus but maybe you could name your cpu or cpus?
and are you using a stock kernel for Debian or a re-compiled please

radiodee1 09-15-2008 06:24 AM

The processor is from AMD. "AMD Turion 64 X2 Mobile Technology TL-50" is what the system monitor in gnome says. I use a 686 kernel, since I like myspace and youtube. This is the output of "uname -a" which shows my kernel. It's the debian packaged one. I didn't compile it myself, but I did pull down the 2.6.26-5 version from sid. "uname -a" shows it as 2.6.26-1-686.
Code:

Linux debian 2.6.26-1-686 #1 SMP Wed Sep 10 16:46:13 UTC 2008 i686 GNU/Linux
Regarding the menu.lst stuff, thanks, those are good suggestions. I'll do that. Thanks again.

aus9 09-15-2008 07:12 PM

radiodee1

ok could you install a stock Lenny kernel and see if that needs the maxcpu kernel parameter?

radiodee1 09-16-2008 05:56 AM

The lenny 2.6.26 kernel did need the maxcpus parameter. All the 2.6.26 kernels needed the maxcpus parameter. The lenny 2.6.25 didn't need the maxcpus parameter. I'd like to stick with the 26, though, because I think the kernel supports features that my laptop has hardware for that the 2.6.25 kernel didn't support.


All times are GMT -5. The time now is 05:43 PM.