Re: [lfs-support] Solid Red Block Cursor in TTY (Terminfo)

2013-10-19 Thread Dr.-Ing. Edgar Alwers
On Saturday 19 October 2013 01:55:57 Esben Stien wrote:
 Esben Stien b...@esben-stien.name writes:
  I'm trying to make my cursor a solid red block..
 
 Nobody has any idea or any pointers?

KDE4 - system settings -  workspace appearence - cursor Theme ???

-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
GPG Key ID:AD5C6F70
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Boot Issues

2013-09-26 Thread Dr.-Ing. Edgar Alwers
On Thursday 26 September 2013 19:51:05 Geoff Swan wrote:

  I've tried to boot off a USB Thumb Drive, an SD Card, and when 
  its running through the boot proccess it keeps telling me that there is 
  an unknown partition type, and therefore can't mount the root fs.

Read
http://www.linux-archive.org/gentoo-user/481167-mounting-root-partition-uuid-no-initrd-needed.html

The article refers to a different issue, but explains  what you are looking 
for.
quote
I strongly suggest that you practice on a USB thumb drive before you
 risk your real partition table !
unquote

I used it. You do not need a PC with EFI support, however, your kernel must 
have  EFI GUID partition table support compiled in. And you will need GPT ( 
GUID partition tables ).
Good luck,

Edgar

-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
GPG Key ID:AD5C6F70
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] util-linux 2.22 does not accept uuid's in fstab

2013-04-11 Thread Dr.-Ing. Edgar Alwers
On Thursday 11 April 2013 19:52:17 Simon Geard wrote:
 Note that for GTP partition tables, the syntax is PARTUUID=, not UUID=.
 The latter is used for filesystem ids only, not for partition ids.

My fault, I was writing too fast. For the sticker I used of course PARTUUID, 
and the message was cannot find PARTUUID=blah. But the booting was OK after 
introducing the initramfs.
Edgar
-- 

Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
GPG Key ID:AD5C6F70
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] util-linux 2.22 does not accept uuid's in fstab

2013-04-10 Thread Dr.-Ing. Edgar Alwers
On Friday 05 April 2013 18:19:03 Armin K. wrote:

  You have to use a initramfs to boot to a drive using a uuid.  Other
  partitions should be OK.
 
  -- Bruce
 
 Only true for root=UUID=blah kernel parameter. Nothing to do with 
 /etc/fstab - I do it all the time.
 
 UUID=blah in /etc/fstab
 root=/dev/sdxy on kernel command line

Here my experiences playing around on the last days:

1.) /dev/sdxy in grub.cfg and in fstab is OK. It boots, no problems
2.) /dev/sdxy in grub.cfg and UUID=blah in fstab is OK for util-Linux-2.20.2
3.) /dev/sdxy in grub.cfg, UUID=blah in fstab for util-Linux-2.22 = no go ! 
Kernel panic with comment, cannot find UUID= blah
4.) initramfs, UUID=blah in grub.cfg and fstab boots OK.

So far, without being an expert, I would say, that initramfs seems to be 
needed to boot a drive using uuid, as Bruce said. This was also true, as I 
tryed to produce a rescue-disk sticker with GPT partition tables. I was not 
able to do it, following the article

http://www.linux-archive.org/gentoo-user/481167-mounting-root-partition-uuide-
no-initrd-needed.html

Same comment, cannot find UUID=blah. After I introduced an initramfs, the 
job was done.

So far, I solved my problem. I do not see dificulties using an initramfs. But 
perhaps somebody may explain this behaviour.

Again, thank you very much,
Edgar

-- 

Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
GPG Key ID:AD5C6F70
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] util-linux 2.22 does not accept uuid's in fstab

2013-04-06 Thread Dr.-Ing. Edgar Alwers
On Friday 05 April 2013 17:51:12 Armin K. wrote:

 Are you sure it's bug in util-linux? I'd add ls 
 /dev/disk/by-uuid/youruuid before the mount -o remount,rw / somewhere 
 in bootscripts just to check if the path exist. If it doesn't - which I 
 doubt is the problem - you need to remount after udev has run (I believe 
 udev handles by-uuid symlinks).

Hi Armin,

could you please explain it a little more ? what bootscripts do you mean ? The 
only things I am using up to now are grub.cfg ( grub-2.0.0 ) and fstab. I do 
not have any udev rules defined up to now  related to partitions or to the 
boot procesws itself !
Thank you very much,
Edgar
-- 

Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
GPG Key ID:AD5C6F70
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] util-linux 2.22 does not accept uuid's in fstab

2013-04-05 Thread Dr.-Ing. Edgar Alwers
Hi,

Preparing my system for gdisk partitions ( PARTUUID ), I upgraded util-linux 
to version 2.22.

My working partition is formatted in xfs. I tried using UUID, but during the 
boot process I get a message: mounting root file system in read-only 
mode...mount can't find UUID and the boot process stops. Cold restart is 
needed.
There are no problems, if fstab uses /dev/sda1 instead of UUID. There are also 
no problems with an ext4 partition included in fstab using UUID.

Could this be a bug ? Any hints how to proceed are welcome. I know, 
downgrading util-linux fix this, but it excludes also the gdisk activities.
Thanks in advance,
Edgar
-- 

Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
GPG Key ID:AD5C6F70
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] System settings - network connections

2013-01-28 Thread Dr.-Ing. Edgar Alwers
Hi Armin,
On Sunday 27 January 2013 22:38:39 Armin K. wrote:
 
 Ah, did you install firmware for your chip? 
Yes, I had. iwl3945. And it is working well with wicd. However, I loaded down 
all iwlwifi- as you said, to lib/firmware, and I made a link to 
/usr/lib/firmware. But still not working. I could not build driver and kernel 
firmware into kernel. I did not find that kind of firmware ( kernel 3.7.5 )
 
 As for loginuid, can you post your /etc/pam.d/system-* files. (4 of them).
 
system--account:
account   requiredpam_unix.so

system-auth:
auth  requiredpam_unix.so

system-password:
password  requiredpam_unix.so   sha512 shadow try_first_pass

and system-session:
session   requiredpam_unix.so
session   optionalpam_loginuid.so
session   optionalpam_ck_connector.so nox11

Also, make sure that Audit Syscall feature is enabled in the kernel.
Is enabled
 
BTW., what means WLAN Interface unavailaible ? nm-applet is showing me the 
same data for wlan0 as the udev-rule 70-persistent-net.rules. So not 
availaible can only mean already in use by someone or no permission to 
access, isn't it ?

Regards,
Edgar
-- 

Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
GPG Key ID:AD5C6F70-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [lfs-support] next step wireless

2012-11-28 Thread Dr.-Ing. Edgar Alwers
On Tuesday 27 November 2012 11:09:33 Dave wrote:

 I only have  WiFi with WEP encryption here, can the WICD pkg and DHCP 
 alone handle this connect?

Good morning Dave,

Well, as I told you yesterday, yes. From my notes taken during build:

You will need

Wireless Tools, BLFS Book § 15
wpa_supplicant BLFS Book § 15
Supplicant is intended to handle WPA encryptions. However, it 
understands 
also other protocols, like WEP. See the informations in wikipedia,  

https://wiki.archlinux.org/index.php/WPA_supplicant
dhcpcd BLFS Book § 14
Wireless Drivers: depending on your laptop. I have a thinkpad with iwl3945 
card. Depending on your kernel, you need to activate the intree driver 
directly, in my case iwlwifi, www.intellinuxwireless.org.
Microcode Images. (http://intellinuxwireless.org )
Py2cairo, BLFS Book § 13, needed by PyGTK
PyGObject BLFS Book $ 13
PyGTK,   BLFS Book § 13 needed by WICD

You should configure /etc/wpa_supplicant.conf, see wikipedia link above.
network={
ssid=mywireless_ssid
psk=secretpassphrase
# Additional parameters (proto, key_mgmt, etc.)
proto=WEP WPA
}

I wrote a little script wlan0_Home, which I placed in /etc/rc.d/init.d, that 
calls supplicant and dhcpcd:
--
# /etc/rc.d/init.d/wlan0_Home
/usr/local/sbin/wpa_supplicant -B -c/etc/wpa_supplicant.conf -iwlan0 -Dwext
/sbin/dhcpcd wlan0
--

and finally, you write the scripts
/etc/sysconfig/ifconfig.wlan0:
---
ONBOOT=no
IFACE=wlan0
SERVICE=dhcpcd
DHCP_START=wlan0 -t 20
DHCP_STOP=-k 

and
/etc/sysconfig/network-devices/ifconfig.wlan0/dhclient:

ONBOOT=no
SERVICE=dhclient

DHCP_START=wlan0 -t 20
DHCP_STOP=-k 

# Set PRINTIP=yes to have the script print
# the DHCP assigned IP address
PRINTIP=no

# Set PRINTALL=yes to print the DHCP assigned values for
# IP, SM, DG, and 1st NS. This requires PRINTIP=yes.
PRINTALL=no
-

ONBOOT=no is needed to be able to start WICD
The last two scripts taken, slighty modifyed, from the BLFS Book.

I hope these notes will help you in some way to put your wifi connection to 
work. The business is not as difficult as it may seem. Good luck !

Edgar
-- 

Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
GPG Key ID:AD5C6F70
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] next step wireless

2012-11-28 Thread Dr.-Ing. Edgar Alwers
On Wednesday 28 November 2012 14:48:05 Chris Staub wrote:
 If you're just using WEP, then you don't really need anything other than 
 wireless_tools. Of course you also want dhcpcd if you're connecting via 
 dhcp, but that's actually separate from the wireless settings. Just 
 install wireless_tools (see BLFS) and type iwconfig [wlan0] essid 
 [SSIDof_your_router] enc [encryption_key] before bringing up your 
 network connection - and maybe add that to your network startup script.

I am using wpa, so I was generalising wep and wpa, that is the reason for 
supplicant. You are right, your instructions are OK for a communication. 
However, Dave wanted to use WICD, what gives more elasticity in running in 
different places with different encryptions. I hope, I am not wrong. To my 
experience, WICD is a great tool.

Edgar
-- 

Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
GPG Key ID:AD5C6F70
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] next step wireless

2012-11-27 Thread Dr.-Ing. Edgar Alwers
On Tuesday 27 November 2012 11:09:33 Dave wrote:
 I only have  WiFi with WEP encryption here, can the WICD pkg and DHCP 
 alone handle this connect?

You will need some other packages, like wpa_supplicant, but the answer is yes. 
It is late here, and I am tired, but I can come back to the issue if you need 
advice. I am working with WICD  and DHCP.

Edgar
-- 

Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
GPG Key ID:AD5C6F70
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Grub 2.00 questions again ... sorry

2012-09-06 Thread Dr.-Ing. Edgar Alwers
On Wednesday 05 September 2012 16:52:49 Eleanore Boyd wrote:
 By the way, since you have never had any good answers on here, and 
have 
 never bothered to have a nice attitude on here, don't bother replying. 
 The server wouldn't take it if you tried.

Hi Elly,

I have been following here some threats in the last weeks. The 
comments may  have been written in an  academic way I personally 
prefere,  or not. However, it is the second time you simple cuts the 
participant out of the discussions ( the server will take care of you ).

My humble opinion: this is not the right way to handle this issue. We 
have to learn also to deal with uneasy comments, with patience. I do 
not like at all the Alice in the Wonderland method: heads off.
Consider it.
Edgar
-- 

Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
GPG Key ID:AD5C6F70
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Problems porting a BLFS System

2012-03-21 Thread Dr.-Ing. Edgar Alwers
On Sun, 18 Mar 2012 14:46:41 -0500
Bruce Dubbs bruce.du...@gmail.com wrote:

 First, the problem is xorg, so take kde out of the loop.  Look at the 
 xorg config section and change ~/.xiinitrc

In the meantime we have some new experiences:

1.) There are no differences in the behaviour of the desktop and the laptop ( 
my wife's system ). After recompiling the kernel of the desktop ( it had not 
been renewed since the LFS7 installation ) it does not function anymore, 
exactly the same behaviour like the laptop

2.)  In my own System I do not experience any problems. The difference to 1.) 
is that I have the old Xorg and my wife the new one with  the evdef driver. So, 
it _could be_ that the problem concerns the new xorg

3.) We changed ~/xinitrc to xterm as you suggested and introduced 
xkb-defaults.conf. There are keyboard and mouse availaible on the console 
_before_ entering startx. After startx, xterm shows up but no keyboard/mouse 
are functioning ( wired mouse/trackball )
After the startx command,  the directory /etc/X11/xorg.conf.d contains two 
new files, 10-evdev.conf and 11-keyboard.conf and the original 
xkb-defaults.conf is away. 

4.) I reviewed the kernel's config of the failing laptop and it is exactly the 
same like the one of my working laptop. I could not see anything wrong.

5.) some final lines of Xorg.0.log:
---
9428.142] (II) GLX: Initialized DRI2 GL provider for screen 0
[  9428.143] (II) intel(0): Setting screen physical size to 270 x 203
[  9428.793] (II) No input driver/identifier specified (ignoring)
[  9428.794] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint 
(/dev/input/mouse0)
[  9428.794] (II) No input driver/identifier specified (ignoring)
--
The driver evdev is not mentioned, neither in Xorg.0.log nor in dmesg.

Thank you very much for all your help,

Edgar
-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
GPG Key ID:AD5C6F70
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] No Phonon backends listed in system settings

2012-01-16 Thread Dr.-Ing. Edgar Alwers
On Sun, 15 Jan 2012 11:52:03 +
Martin Ward macros_the_bl...@ntlworld.com wrote:

 I had this problem as well, the way i solved it was to have the phonon 
 engine in the qt4 directory, and the backends in the kde hierarchy

Hi,
this puts the backends indeed in the $KDEDIR/share/kde4/services/phononbackends 
where they are found by system-settings. but nevertheless, I do not have any 
sound. Looking a little, I could see, that the phonon libraries are all in 
$QT4DIR, and therefore they are not in the kde locations where they should be, 
according to the kde-forum posting. Well, I cannot imagine, that I have to make 
links for all of them. I wonder, if the book instruction to install phonon in 
$QTDIR is so lucky and if it would not be better to install in $KDE4DIR instead 
?

-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
GPG Key ID:AD5C6F70
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: AllowEmtpyInput

2010-10-29 Thread Dr.-Ing. Edgar Alwers
On Thu, 28 Oct 2010 23:12:18 +0100
Ken Moffat k...@linuxfromscratch.org wrote:

 # for xorg-server-1.5.3, otherwise no keyboard or mouse
 # turn off dontzap for  1.5.3
 Section ServerFlags
 Option  AllowEmptyInput false
 Option DontZap  false
 EndSection
 

Thanks a lot. This did the job. However, the combination strg-alt-backspace do 
not work. This seems to be intention. I can  shut down the screen e.g. with 
strg-alt-f1. I think, I can live with this.
Mouse is working too.
I do not know, if it is worth ( and easy ) to install xf86-input-evdev driver 
?

  In general, the changes are made to suit the distros.  Using a tty
 login with .xinitrc, and not using hal or its replacement, are
 decidedly uncommon choices now - just the same as building
 everything from source on the machine where it is to run ;-)

The book gives the advice,  not to use hal anymore ! I hope not to to enter in 
more problems due to this ! xorg.conf.new was tested without hal beeing 
installed.
 
  Just out of interest, why are you using 1.8 instead of 1.7 or 1.9 ?

1.8.2 is the actual release included in the book. (development )
 
Again, thank you very much, extended to Stuart and to Linux Fan for their 
comments !

Edgar
-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


/usr/lib/xorg/protocol.txt

2010-10-28 Thread Dr.-Ing. Edgar Alwers
Hi,

accidentaly I removed protocol.txt from /usr/lib/xorg. I do not know for what 
this file is needed and how to rebuild it. Rebuilding xorg server perhaps ? 
Thanks in advance for a hint.
Edgar


-- 
Dr.-Ing. EdgarAlwers edgaralw...@gmx.de
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


AllowEmtpyInput

2010-10-28 Thread Dr.-Ing. Edgar Alwers
Hi Bruce,

I know, this issue is a little  the field of BLFS. I am trying to get xorg 
working, a not to difficult task in former times. Now, testing the 
xorg.conf.new, I get a screen, with a dirty X on it, but no way to close it 
again. strg-alt-backspace is ignored, also the mouse. Cold reboot is needed.

in Xorg.0.log I can read: 
(WW) AllowEmtpyInput is on, devices using drivers 'kbd' or 'mouse' will be
disabled..

OK, if disabled, I cannot work with them, that's clear. Question: what is the 
matter with this ? How and where can I avoid that this drivers become useless ?

And ( granting a little, I am really tired  ;-) ), what is the reason for this 
_new_ behaviour ?
svn 20101023, xorg-server-1.8.2

Hope you can again help, and thanks a lot,

Edgar

-- 
Dr.-Ing. EdgarAlwers edgaralw...@gmx.de
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-GMP-5.0.1

2010-10-25 Thread Dr.-Ing. Edgar Alwers
On Sun, 24 Oct 2010 16:27:05 -0500
Bruce Dubbs bruce.du...@gmail.com wrote:

  On 
 my reference build, gmp-impl.h and longlong.h are not installed at all.
 

OK. I can confirm this. Whether my wife's nor my own build installed them. But 
I got in several make's of GCC an error ( fatal ), claiming for these files.

 Note that gcc never uses gmp-impl.h and has it's own copy of longlong.h.

Very curious indeed.

 
 Are you sure you installed gmp in section 6.13?  Note that this is 
 different from the method of building gmp into Chapter 5's gcc.
 
Yes, I did it twice, as I feared maybe to have forgotten to install after make.

It was not a major problem, as I could provide the files to gcc. But something 
seems to be a little misplaced in gcc's makefiles ?

Edgar


-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-GMP-5.0.1

2010-10-25 Thread Dr.-Ing. Edgar Alwers
Hi John,

On Sun, 24 Oct 2010 15:17:19 -0600
John Mitchell worka...@gmail.com wrote:

 
 I'm curious about your Fedora 13 basis.  I have been using RH and Fedora
 for many years but never really dug into linux like this.  I have finally
 become frustrated enough with the maintenance/upgrade issues that I decided
 to take more control.
 
 Can you perhaps describe (to whatever detail you are willing) how you are
 using LFS together with Fedora 13?

I downloaded Fedora 13 during my efforts with Grub-1.8, as I was told, Fedora 
uses it.
When I started with LFS-6.6, I decided to try to do it through Fedora as host. 
I had to install the compiler and a few files, but Fedora did this quick and 
easy. After that, the work was simple: I opened a shell and opened the LFS-Book 
with Opera. That's all. Best experiences. Installing development tools on 
Fedora was also interesting for me, as I had not done it before.

Edgar

-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


LFS-GMP-5.0.1

2010-10-24 Thread Dr.-Ing. Edgar Alwers
Hi Bruce,

I have finisched building LFS-6.6. It is working smootly, it tooks only a few 
days to build it.
Thank you very much for all the work involved with the book ! It is an 
excellent guide.

I used Fedora 13 as a basis this time. Talking about LFS SVN-20101018.

The compilation of GCC-4.5.1 Chapter 6 failed with an error gmp internal files 
not found: gmp-impl.h and longlong.h. I had to manually copy this two files 
from the GMP-5.0.1 package to /usr/include, and then, no more problems. My 
wife, building from an older BLFS basis, did not have this problem at all.
Question: is this perhaps a bug of GMP, not placing the files in /usr/include ? 
and if, why BLFS does it and Fedora not ? Perhaps the configure of GCC should 
include the path to GMP in the book-instructions ? The problem shows up from 
time to time, as you may follow googling for it.

Just a hint, perhaps you might want to check it ?

Edgar

-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Grub2 and ext4

2010-10-19 Thread Dr.-Ing. Edgar Alwers
On Sat, 16 Oct 2010 12:11:18 -0700
Mark Knecht markkne...@gmail.com wrote:


 there were comments that versions of Fedora prior to Version 11 or
 something did not support booting from grub2, but as of 11 or 12 it
 does. (Go look at it if you haven't already)

Thanks a ot for your comment. I downloaded and installed Fedora 13. Works very 
good with ext4 partitions. However: it uses grub 0.97 with menu.lst !

Probably, they are using a patched version of grub1, which is reported to be 
able to handle ext4. 
Viewing this, I am wondering really, if it is worth to continue on the issue 
with grub2. Much more, as I crashed my box during this efforts and had to do a 
big lot of work until I repaired it. Could it be, that grub2 is not already 
mature enough, and distros are still waiting ?

Regards,
Edgar


-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Grub2 and ext4

2010-10-19 Thread Dr.-Ing. Edgar Alwers
On Sat, 16 Oct 2010 19:48:10 -0400
Hi, 
linux fan linuxscra...@gmail.com wrote:

 I believe that the one statement:
 linux (hd0,6)/boot/lfskernel-2.6.34  root=/dev/sda6 rw
 
 would be equivalent to the 2 statements:
 set root='(hd0,6)'
 linux /boot/lfskernel-2.6.34  root=/dev/sda6 rw

In this case, set root would not be neccessary, as my statement
linux (hd0,6)/boot/lfskernel-2.6.34  root=/dev/sda6 rw
would do the job.
In my case - I am not excluding errors from my part-, I got, as I wrote, an 
error message not an assigment

Edgar

-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Grub2 and ext4

2010-10-19 Thread Dr.-Ing. Edgar Alwers
On Wed, 13 Oct 2010 22:46:26 +0200
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de wrote:

I would like to make a little report in between. 

At first, I realized, that the kernel of my host system was supporting ext4 
file systems but not ext2 and ext3. As grub.cfg asks for ext2, I thought, this 
could be the reason for my problems. So I decided to build linux-2.6.34 again 
with support for this file systems, and after that, to build grub2. OK. I did 
grub-config. But as I am always a little afraid of touching MBR, I did not 
make  grub-install. This tourned to be a catastrophe. I got a grub pront and 
nothing more. 

Well, with the help of my rescue disk, I tried to repair my error. No way. 
Rescue disks works with grub1, not grub2. chroot does also not help, as needed 
libraries are not accessible.

I then decided to install Fedora 13, in order to have a new basis. Now, I went 
into a new problem. I had an IDE disk and an SATA one. To my surprise, the 
denominations of the devices change as they like: sometimes thy are /dev/sdbx, 
but on the next reboot they may turn to be /dev/sdax and so on.
Like trying to fix a piece of soap. I could not install Fedora. The problem 
seems to be well known, as I now know, after googling a little.  It seems, that 
mixing two kinds of disks in one box, is problematic.

I took the IDE disk out of the PC, and installed Fedora 13. then I added my 
BLFS system to menu.lst, and now, everything is working.

menu.lst, yes. Fedora 13 still works with grub1 , and it boots ext4 systems. 
As I wrote, I do not know, if it is worth to continue experimenting with grub2 
at this moment. I appreciate comments.

I wrote this in some extension, as I think that my experiences could be a help 
to others, working on the same field.

Regards and many thanks for all the comments and help,

Edgar


-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Grub2 and ext4

2010-10-16 Thread Dr.-Ing. Edgar Alwers
On Fri, 15 Oct 2010 21:34:39 +0100
Andrew Benton b3n...@gmail.com wrote:

 
 That looks quite odd to me. What does the set root='(hd1,5)' do if on
 the next line you tell it to look at (hd0,6)?


Well, I think the first set root should tell grub2 where the boot partition 
is ( in the case of a separate boot partition ), that means where all the grub 
files are to be found.
The linux statement on the other hand tells grub where the kernel resides and 
were root of the partition to be booted is. Is this not correct ?
 
 Try:
 
 menuentry KDE-4.5 ext4 {
 set root=(hd0,6)
 linux /boot/lfskernel-2.6.34  root=/dev/sda6 rw
 }

Same results. No go
 
 Is the kernel in /boot on /dev/sda6 or is /boot on a separate partition?
 
The kernel resides in /dev/sda6/boot . That is the reason for my linux 
(hd0,6)/boot/lfskernel... etc. statement in grub.cfg

 
 I would suggest that you tar up the partition from your host system,
 unmount it, format it with the filesystem of your choice, mount it
 again and then untar the files onto the empty partition. 
 Assuming it's mounted on /mnt/lfs and you want to use ext4:
 

I think I will give it a try. I cannot understand the behaviour of my grub2 ( 
version 1.98 ), besides that the ext4 partition is corrupted. I will report.

Thank you very much for your help

Edgar

-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Grub2 and ext4

2010-10-16 Thread Dr.-Ing. Edgar Alwers
On Sat, 16 Oct 2010 16:28:05 +0100
Hi Andrew,

Andrew Benton b3n...@gmail.com wrote:

 If it doesn't already know where the /boot partition is then it will never 
 read grub.cfg so the line will not be parsed by grub.

Well, there is an initial set root, followed by an search in the config 
part comming from /etc/grub.d/00_header.
However, if I do not repeat the root where grub files are ( boot partition ), 
using your suggested menuentry instead, I get a new kind of error: error. Not 
an assignment, and the process stops.  Definitly, I need to write down the 
menuentry as I did, if not, nothing goes. I tried this with a functioning 
partition.

  The linux statement on the other hand tells grub where the kernel resides 
  and were root of the partition to be booted is. Is this not correct ?
   
 Indeed, which is why I suggested you try something like:

( sophisticated, for non english natives: indeed, does it mind it is not 
correct ? or does it mind it is ?   ;-)   )
 
Edgar

-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Grub2 and ext4

2010-10-15 Thread Dr.-Ing. Edgar Alwers
On Fri, 15 Oct 2010 14:03:53 +0100
Andrew Benton b3n...@gmail.com wrote:

 
 Is the kernel on the reiserfs /boot partition or the ext4 partition?
 

On the ext4 one. I have the statements

menuentry KDE-4.5 ext4 {
insmod ext2
set root='(hd1,5)'
linux (hd0,6)/boot/lfskernel-2.6.34  root=/dev/sda6 rw
}

in /dev/sdb5/grub/grub.cfg

It should at least start. I am wondering, if perhaps the ext4 format ( with the 
help of gparted, some time ago ) is not the same as the actual one ?

It is a test partition. I could reformat and copy my main system from the 
reiserfs partition with a dd. What would you suggest ?

Thanks for your assistance,
Edgar



 
-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Grub2 and ext4

2010-10-14 Thread Dr.-Ing. Edgar Alwers
On Wed, 13 Oct 2010 23:50:34 -0400
linux fan linuxscra...@gmail.com wrote:

 This one said kernel must have ext4 support.
 http://lists.debian.org/debian-user/2009/01/msg00190.html

As I wrote, my kernel was build with ext4 support   ;-)
Edgar


-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Grub2 and ext4

2010-10-14 Thread Dr.-Ing. Edgar Alwers
On Wed, 13 Oct 2010 23:19:36 +0100
Ken Moffat k...@linuxfromscratch.org wrote:

  Last time I looked, grub2 couldn't boot on ext4.  You need a
 separate /boot partition, as ext2 or ext3.  Or, alternatively, an
 ext2 or ext3 '/' with /home or /srv (wherever you put the space for
 the data) on a separate ext4 filesystem.

I do have a separate boot partition ( /dev/sdb5 ), formated on reiserfs. And I 
am trying to boot a system on an ext4 formated partition ( /dev/sda6 ). No way. 
The only message is an inmediate error: unknown filesystem. I presume, 
generated by grub2 when intending to enter the ext4 partition. Other partitions 
on both disks are booted normaly.

 
  ISTR grub's ext2 handles ext3, and might not need an insmod.
 

I tryed also insmod ext2 and insmod ext3.

Edgar

-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Grub2 and ext4

2010-10-13 Thread Dr.-Ing. Edgar Alwers
Hi!,

I managed to install a grub2 system on my linux-from-scratch boxes, and grub2 
is working more or less fine. However: ext4 partitions I created as a test, are 
not being booted. I can mount my ext4 partitions withouth problems with mount 
-t ext4 /dev/sda6 /mnt. but I cannot boot them. The kernel includes ext4 file 
formats. I put a  insmod ext4 statement on my grub.cfg, but I get an file 
not found followed by an unknown filesystem when trying to boot.

Do I have to include some features when building grub2 ? 
System KDE-4.5, grub-1.98, kernel 2.6.34
I did not find anything googling.

Thanks in advance,
Edgar
-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: some issues with grub

2010-07-08 Thread Dr.-Ing. Edgar Alwers
On Thu, 08 Jul 2010 10:23:02 -0400
Chris Staub ch...@beaker67.com wrote:

 On 07/07/2010 01:56 PM, Bruce Dubbs wrote:
  Dr.-Ing. Edgar Alwers wrote:
 
  2.) the configuration file example given talks about Be careful not
  to change the 'exec tail' line above. . But the example does not
  contain a exec tail line. However, this line is important.
 
  May be something is missing in the example ?
 
 
 Nothing is missing - that is exactly what the actual file looks like. 
 The comment about exec tail comes from /etc/grub.d/40_custom, in which 
 the command does exist - grub.cfg just copies the comment lines from 
 each config file and doesn't include the actual tail command.
 -- 
Hi Chris,

OK. I can live with it. However, I would recommend to make it clear in LFS. It 
could confuse people, especially considering that Grub2 is not the easiest one 
boot manager.
Regards,
Edgar

-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


some issues with grub

2010-07-07 Thread Dr.-Ing. Edgar Alwers
Hi Bruce,

trying a little to change my old grub loader to grub-1.98, using the LFS book, 
Version SVN-20100702 Chapter 8.4. Using GRUB to Set Up the Boot Process, I 
was facing some problems:
1.)  the command grub-mkrescue --image-type=floppy floppy.img results in an 
unrecognized option '--image-type-floppy' 

2.) the configuration file example given talks about Be careful not to change
the 'exec tail' line above. . But the example does not contain a exec tail 
line. However, this line is important. 

May be something is missing in the example ?

Thanks a lot for comments.
Edgar
 

-- 
Dr.-Ing. Edgar Alwers edgaralw...@gmx.de
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page