Kamis, 31 Maret 2016

Bristol Digest, Vol 639, Issue 6

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Re: Module Queries (was Grub2 and Fedora 23) (Peter Hemmings)
2. Re: Module Queries (was Grub2 and Fedora 23) (David Smith)


----------------------------------------------------------------------

Message: 1
Date: Wed, 30 Mar 2016 21:23:19 +0100
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Module Queries (was Grub2 and Fedora 23)
Message-ID: <56FC35B7.1070404@virginmedia.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

On 30/03/16 11:09, David Smith wrote:
>> -----Original Message----- From: Bristol
>> [mailto:bristol-bounces@mailman.lug.org.uk] On Behalf Of Peter
>> Hemmings Mine is the same
>>
>> but:
>>
>> [root@study-localdomain ~]# mkdir /temp/foo mkdir: cannot create
>> directory '/temp/foo': No such file or directory
>> [root@study-localdomain ~]# mkdir /tmp/foo [root@study-localdomain
>> ~]# cd /tmp/foo [root@study-localdomain foo]# gzip -d <
>> /boot/initramfs-4.4.6- 300.fc23.x86_64.img | cpio --extract 60527
>> blocks
>>
>> gzip: stdin: not in gzip format cpio: premature end of archive
>
> And if you run "file" on the image file directly without running it
> through gzip first?
>
> i.e.
>
> file /boot/initramfs-4.4.6-300.fc23.x86_64.img
>

[peter@study-localdomain foo]$ file
/boot/initramfs-4.4.6-300.fc23.x86_64.img
/boot/initramfs-4.4.6-300.fc23.x86_64.img: ASCII cpio archive (SVR4 with
no CRC)
[peter@study-localdomain foo]$ mkdir /tmp/foo
[peter@study-localdomain foo]$ cd /tmp/foo
[peter@study-localdomain foo]$ gzip -d <
/boot/initramfs-4.4.6-300.fc23.x86_64.img | cpio

gzip: stdin: not in gzip format
cpio: You must specify one of -oipt options.
Try `cpio --help' or `cpio --usage' for more information.

[peter@study-localdomain foo]$


I tries options o,i,p and t but no list.

Maybe Fedora wants to keep it secret!!
>
> Note also that you shouldn't have the "60527 blocks" on the end of
> the command you've quoted - that's the output of the command when
> Steve ran it. It should just be "cpio --extract". However, that's
> not the cause of your error.

Nope



>
> _______________________________________________ Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol
>

Regards

--
Peter H



------------------------------

Message: 2
Date: Wed, 30 Mar 2016 22:29:57 +0100
From: David Smith <David.Smith@ds-electronics.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Module Queries (was Grub2 and Fedora 23)
Message-ID: <1459373397.4873.12.camel@ubuntu>
Content-Type: text/plain

On Wed, 2016-03-30 at 21:23 +0100, Peter Hemmings wrote:
> [peter@study-localdomain foo]$ file
> /boot/initramfs-4.4.6-300.fc23.x86_64.img
> /boot/initramfs-4.4.6-300.fc23.x86_64.img: ASCII cpio archive (SVR4 with
> no CRC)

OK, so the image isn't compressed, so you don't need gzip.

> [peter@study-localdomain foo]$ mkdir /tmp/foo
> [peter@study-localdomain foo]$ cd /tmp/foo
> [peter@study-localdomain foo]$ gzip -d <
> /boot/initramfs-4.4.6-300.fc23.x86_64.img | cpio
>
> gzip: stdin: not in gzip format
> cpio: You must specify one of -oipt options.
> Try `cpio --help' or `cpio --usage' for more information.
>
> [peter@study-localdomain foo]$
>
>
> I tries options o,i,p and t but no list.
>
> Maybe Fedora wants to keep it secret!!

OK, I think what you need is
cpio --extract < /boot/initramfs-4.4.6-300.fc23.x86_64.img




------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 639, Issue 6
***************************************

Rabu, 30 Maret 2016

Bristol Digest, Vol 639, Issue 5

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Re: Module Queries (was Grub2 and Fedora 23) (Peter Hemmings)
2. Re: Module Queries (was Grub2 and Fedora 23) (Steve King)
3. Re: Module Queries (was Grub2 and Fedora 23) (Peter Hemmings)
4. Re: Module Queries (was Grub2 and Fedora 23) (David Smith)
5. Re: Module Queries (was Grub2 and Fedora 23) (Steve King)


----------------------------------------------------------------------

Message: 1
Date: Tue, 29 Mar 2016 19:29:46 +0100
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Module Queries (was Grub2 and Fedora 23)
Message-ID: <56FAC99A.80506@virginmedia.com>
Content-Type: text/plain; charset=windows-1252; format=flowed



On 29/03/16 18:32, Steve King wrote:
> I don't know what fc uses. Is it squashfs?

Sorry I am not sure, its beyond my knowledge!

These are the only images in my PC:

initramfs-0-rescue-aab955f59da14e449cf5c1fee4b9f8a9.img
initramfs-4.4.3-300.fc23.x86_64.img
initramfs-4.4.4-301.fc23.x86_64.img
initramfs-4.4.6-300.fc23.x86_64.img
initrd-plymouth.img

[peter@study-localdomain ~]$ locate *.img
/backup/backupAug2015/Downloads/DG834Gv3_V4.01.42/DG834Gv3_V4.01.42.img
/backup/backupAug2015/Garmin/gmapsup1.img
/boot/initramfs-0-rescue-aab955f59da14e449cf5c1fee4b9f8a9.img
/boot/initramfs-4.4.3-300.fc23.x86_64.img
/boot/initramfs-4.4.4-301.fc23.x86_64.img
/boot/initramfs-4.4.6-300.fc23.x86_64.img
/boot/initrd-plymouth.img
/boot/grub2/i386-pc/boot.img
/boot/grub2/i386-pc/core.img
/home/peter/Downloads/2016-02-09-raspbian-jessie.img
/home/peter/Downloads/from-sd-card.img
/home/peter/Downloads/motioneyeos-raspberrypi2-20151206.img
/home/peter/Downloads/motionpie-raspberrypi2-20150719.img
/home/peter/Downloads/DG834Gv3_V4.01.42/DG834Gv3_V4.01.42.img
/home/peter/garmin/gmapsup1.img
/usr/lib/firmware/RTL8192E/boot.img
/usr/lib/firmware/RTL8192E/data.img
/usr/lib/firmware/RTL8192E/main.img
/usr/lib/grub/i386-pc/boot.img
/usr/lib/grub/i386-pc/boot_hybrid.img
/usr/lib/grub/i386-pc/cdboot.img
/usr/lib/grub/i386-pc/diskboot.img
/usr/lib/grub/i386-pc/kernel.img
/usr/lib/grub/i386-pc/lnxboot.img
/usr/lib/grub/i386-pc/lzma_decompress.img
/usr/lib/grub/i386-pc/pxeboot.img
/usr/share/fedora-productimg/product.img
/usr/share/gnome-boxes/unattended/disk.img
[peter@study-localdomain ~]$

>
> What does file say it is?

!?

>
> --
> Steve
>
> Sent from my phone


Not much help.

--
Peter H



------------------------------

Message: 2
Date: Wed, 30 Mar 2016 10:04:32 +0100
From: "Steve King" <debian@invux.com>
To: "Bristol and Bath Linux User Group" <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Module Queries (was Grub2 and Fedora 23)
Message-ID:
<cf90d7ea32e92f5f274edae2463a434e.squirrel@dazzle.invux.com>
Content-Type: text/plain;charset=iso-8859-1


>
>
> On 29/03/16 18:32, Steve King wrote:
>> I don't know what fc uses. Is it squashfs?
>
> Sorry I am not sure, its beyond my knowledge!
>
> These are the only images in my PC:
>
> initramfs-0-rescue-aab955f59da14e449cf5c1fee4b9f8a9.img
> initramfs-4.4.3-300.fc23.x86_64.img
> initramfs-4.4.4-301.fc23.x86_64.img
> initramfs-4.4.6-300.fc23.x86_64.img
> initrd-plymouth.img

Well,


FC 23 seems to use the same format as debian: (gzipped cpio archive)

# mkdir /tmp/foo
# cd /tmp/foo
# gzip -d < /boot/initramfs-4.4.6-300.fc23.x86_64.img | cpio --extract
60527 blocks
# ls
bin dev etc init lib lib64 proc root run sbin shutdown sys
sysroot tmp usr var

>
> [peter@study-localdomain ~]$ locate *.img
> /backup/backupAug2015/Downloads/DG834Gv3_V4.01.42/DG834Gv3_V4.01.42.img
> /backup/backupAug2015/Garmin/gmapsup1.img
> /boot/initramfs-0-rescue-aab955f59da14e449cf5c1fee4b9f8a9.img
> /boot/initramfs-4.4.3-300.fc23.x86_64.img
> /boot/initramfs-4.4.4-301.fc23.x86_64.img
> /boot/initramfs-4.4.6-300.fc23.x86_64.img
> /boot/initrd-plymouth.img
> /boot/grub2/i386-pc/boot.img
> /boot/grub2/i386-pc/core.img
> /home/peter/Downloads/2016-02-09-raspbian-jessie.img
> /home/peter/Downloads/from-sd-card.img
> /home/peter/Downloads/motioneyeos-raspberrypi2-20151206.img
> /home/peter/Downloads/motionpie-raspberrypi2-20150719.img
> /home/peter/Downloads/DG834Gv3_V4.01.42/DG834Gv3_V4.01.42.img
> /home/peter/garmin/gmapsup1.img
> /usr/lib/firmware/RTL8192E/boot.img
> /usr/lib/firmware/RTL8192E/data.img
> /usr/lib/firmware/RTL8192E/main.img
> /usr/lib/grub/i386-pc/boot.img
> /usr/lib/grub/i386-pc/boot_hybrid.img
> /usr/lib/grub/i386-pc/cdboot.img
> /usr/lib/grub/i386-pc/diskboot.img
> /usr/lib/grub/i386-pc/kernel.img
> /usr/lib/grub/i386-pc/lnxboot.img
> /usr/lib/grub/i386-pc/lzma_decompress.img
> /usr/lib/grub/i386-pc/pxeboot.img
> /usr/share/fedora-productimg/product.img
> /usr/share/gnome-boxes/unattended/disk.img
> [peter@study-localdomain ~]$
>
>>
>> What does file say it is?
>
> !?
>

file:
$ which file
/usr/bin/file

$ man file
FILE(1) BSD General Commands Manual
FILE(1)

NAME
file ? determine file type

SYNOPSIS
file [-bchiklLNnprsvz0] [--apple] [--mime-encoding] [--mime-type]
[-e testname] [-F separator] [-f namefile] [-m magicfiles]
[-P name=value] file ...
file -C [-m magicfiles]
file [--help]

DESCRIPTION
This manual page documents version 5.11 of the file command.

file tests each argument in an attempt to classify it. There are three
sets of tests, performed in this order: filesystem tests, magic tests,
and language tests. The first test that succeeds causes the file
type to
be printed.
...

$ file /boot/initrd.img-3.16.0-4-amd64
/boot/initrd.img-3.16.0-4-amd64: gzip compressed data, last modified: Fri
Mar 4 10:06:57 2016, from Unix

~$ gzip -d < /boot/initrd.img-3.16.0-4-amd64 | file -
/dev/stdin: ASCII cpio archive (SVR4 with no CRC)

Can be useful to identify a file of unknown type....

>>
>> --
>> Steve
>>
>> Sent from my phone
>
>
> Not much help.
>
> --
> Peter H
>

--
Steve




------------------------------

Message: 3
Date: Wed, 30 Mar 2016 10:46:34 +0100
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Module Queries (was Grub2 and Fedora 23)
Message-ID: <56FBA07A.3080103@virginmedia.com>
Content-Type: text/plain; charset=windows-1252; format=flowed



On 30/03/16 10:04, Steve King wrote:
>
>>



>
>
> FC 23 seems to use the same format as debian: (gzipped cpio archive)
>
> # mkdir /tmp/foo
> # cd /tmp/foo
> # gzip -d < /boot/initramfs-4.4.6-300.fc23.x86_64.img | cpio --extract
> 60527 blocks
> # ls
> bin dev etc init lib lib64 proc root run sbin shutdown sys
> sysroot tmp usr var
>

>
> $ man file
> FILE(1) BSD General Commands Manual
> FILE(1)
>
> NAME
> file ? determine file type
>
> SYNOPSIS
> file [-bchiklLNnprsvz0] [--apple] [--mime-encoding] [--mime-type]
> [-e testname] [-F separator] [-f namefile] [-m magicfiles]
> [-P name=value] file ...
> file -C [-m magicfiles]
> file [--help]
>
> DESCRIPTION
> This manual page documents version 5.11 of the file command.
>
> file tests each argument in an attempt to classify it. There are three
> sets of tests, performed in this order: filesystem tests, magic tests,
> and language tests. The first test that succeeds causes the file
> type to
> be printed.
> ...
>
> $ file /boot/initrd.img-3.16.0-4-amd64
> /boot/initrd.img-3.16.0-4-amd64: gzip compressed data, last modified: Fri
> Mar 4 10:06:57 2016, from Unix
>
> ~$ gzip -d < /boot/initrd.img-3.16.0-4-amd64 | file -
> /dev/stdin: ASCII cpio archive (SVR4 with no CRC)

Mine is the same

but:

[root@study-localdomain ~]# mkdir /temp/foo
mkdir: cannot create directory ?/temp/foo?: No such file or directory
[root@study-localdomain ~]# mkdir /tmp/foo
[root@study-localdomain ~]# cd /tmp/foo
[root@study-localdomain foo]# gzip -d <
/boot/initramfs-4.4.6-300.fc23.x86_64.img | cpio --extract 60527 blocks

gzip: stdin: not in gzip format
cpio: premature end of archive


>
> Can be useful to identify a file of unknown type....
>
Yep

Regards

--
Peter H



------------------------------

Message: 4
Date: Wed, 30 Mar 2016 10:09:53 +0000
From: David Smith <David.Smith@imgtec.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Module Queries (was Grub2 and Fedora 23)
Message-ID:
<15A9D35B5490FC49AC0524AE3A085F082CA13B0E@BRMAIL01.br.imgtec.org>
Content-Type: text/plain; charset="us-ascii"

> -----Original Message-----
> From: Bristol [mailto:bristol-bounces@mailman.lug.org.uk] On Behalf Of Peter Hemmings
> Mine is the same
>
> but:
>
> [root@study-localdomain ~]# mkdir /temp/foo
> mkdir: cannot create directory '/temp/foo': No such file or directory
> [root@study-localdomain ~]# mkdir /tmp/foo [root@study-localdomain ~]#
> cd /tmp/foo [root@study-localdomain foo]# gzip -d < /boot/initramfs-4.4.6-
> 300.fc23.x86_64.img | cpio --extract 60527 blocks
>
> gzip: stdin: not in gzip format
> cpio: premature end of archive

And if you run "file" on the image file directly without running it through gzip first?

i.e.

file /boot/initramfs-4.4.6-300.fc23.x86_64.img

?

Note also that you shouldn't have the "60527 blocks" on the end of the command you've quoted - that's the output of the command when Steve ran it. It should just be "cpio --extract". However, that's not the cause of your error.



------------------------------

Message: 5
Date: Wed, 30 Mar 2016 11:09:57 +0100
From: "Steve King" <debian@invux.com>
To: "Bristol and Bath Linux User Group" <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Module Queries (was Grub2 and Fedora 23)
Message-ID:
<580e5add8888e9cfc74bfa8678daf9ae.squirrel@dazzle.invux.com>
Content-Type: text/plain;charset=iso-8859-1

>
> Mine is the same
>
> but:
>
> [root@study-localdomain ~]# mkdir /temp/foo
> mkdir: cannot create directory ?/temp/foo?: No such file or directory
> [root@study-localdomain ~]# mkdir /tmp/foo
> [root@study-localdomain ~]# cd /tmp/foo
> [root@study-localdomain foo]# gzip -d <
> /boot/initramfs-4.4.6-300.fc23.x86_64.img | cpio --extract 60527 blocks
>
> gzip: stdin: not in gzip format
> cpio: premature end of archive
>

What does:
file /boot/initramfs-4.4.6-300.fc23.x86_64.img
say?

--
Steve




------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 639, Issue 5
***************************************

Selasa, 29 Maret 2016

Bristol Digest, Vol 639, Issue 4

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Re: Module Queries (was Grub2 and Fedora 23) (Steve King)
2. Re: Module Queries (was Grub2 and Fedora 23) (Peter Hemmings)
3. Re: Module Queries (was Grub2 and Fedora 23) (Peter Hemmings)
4. Re: Module Queries (was Grub2 and Fedora 23) (Sebastian)
5. Re: Module Queries (was Grub2 and Fedora 23) (Steve King)


----------------------------------------------------------------------

Message: 1
Date: Tue, 29 Mar 2016 16:50:44 +0100
From: "Steve King" <steve@invux.com>
To: "Bristol and Bath Linux User Group" <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Module Queries (was Grub2 and Fedora 23)
Message-ID:
<e926b45293f549803430f1bfe3ae0d2f.squirrel@dazzle.invux.com>
Content-Type: text/plain;charset=iso-8859-1

> After my recent experiences, I realize I am not sure how/when modules
> are loaded and for the benefit of others like me, some clarification my
> be of some help!

Modules are actually contained in two separate areas. The first is
/lib/modules and the second is the initial ram disk.

The initial ram disk is created each time up upgrade or install a new
kernel, and takes a sub-set of the modules in /lib/modules.
the initial ram disk (initrd) is loaded along side the kernel by the boot
loader, GRUB in your case.
In theory the initrd only contains the modules necessary to mount the root
filesystem, but normally there are a few others in there (most of the
initrd creation scripts err on the side of too many rather than too few)

Once / is mounted, additional can be loaded directly from /lib/modules.

You can extract /boot/initrd.img-<kernel version>, on my debian system it
is a gzipped cpio archive.
$ mkdir /tmp/foo
$ cd /tmp/foo
$ gzip -d < /boot/initrd.img-3.16.0-4-amd64 | cpio --extract

You will see that the initrd has its own /lib/modules

I think there is a size limit on initrd imposed by GRUB2 of 350 or so Mbytes.

Thus my previous email about you booting fedora core using the mint kernel.
You would only see the mint initrd modules loaded as the ones in fedora
core /lib/modules would not be compatible with the mint kernel.

Regards,

--
Steve




------------------------------

Message: 2
Date: Tue, 29 Mar 2016 16:56:06 +0100
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Module Queries (was Grub2 and Fedora 23)
Message-ID: <56FAA596.6010402@virginmedia.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

Shane,

On 29/03/16 15:24, Shane McEwan wrote:
> On 29/03/16 14:14, Peter Hemmings wrote:
>> 1. Are some modules modules loaded from the kernel and any
>> others downloaded as required on installation or are they all in
>> the kernel now?
>
> When you say "modules" you're really talking about "kernel modules".
> Back in the olden days the Linux kernel didn't have modules. Drivers
> needed to be compiled into the kernel. If you had exotic hardware
> you would often need to recompile the whole kernel because the
> drivers you needed weren't included in there by default. Fun times.
> When the kernel module functionality was added kernel drivers were
> gradually modularised and now almost all drivers run as modules.

OK

>
> On my Ubuntu system (I can't remember about Fedora) I can look at the
> `/boot/config-$(uname -r)` file and see what options the kernel was
> compiled with. Settings marked with "y" are compiled into the
> kernel, settings with "m" are built as modules for optional loading
> at boot time.

OK just checked and it is the same.

>
> Most distros package the modules into separate packages so you can
> selectively choose what hardware to support. If the modules you need
> are not included in a default install package list then you'll need
> to manually install the packages in order to get the modules for the
> kernel. That might mean downloading the RPM files on a machine that
> has Internet access, putting the files onto a USB stick, and manually
> installing the packages in order to get network access working.

I have never had to do that in Fedora updates in the last 4-5 years so
(I assume) my laptop drivers/modules were always built in.
>
>> 2. If modules are from both places are they all listed with
>> modprobe?
>
> `lsmod` you mean?

Ooops - that's what I meant!

That will list all the dynamically loaded modules.
> It won't list the drivers compiled directly into the kernel.

OK

>
>> 3. Is it possible that my wireless module has been reduced to
>> semi-redundant and in the latest kernels now needs iwlegacy to run
>> iwl3945?
>
> I think iwlegacy is just the new name for some old Intel modules that
> are probably not being developed any more. You might need to add
> iwl3945 to the /etc/modules file to make sure it loads on boot but I
> would have thought it would be automatic.

It must be as I have not added anything and its loaded.

>
>> 4. If the above was the case then is it possible that previous
>> kernels had the module and just worked, but now I have to download
>> it?
>
> It's possible. Newer distros might change what modules are installed
> and enabled by default. Particularly if they're old and unstable or
> the kernel module ABI has changed and they're no longer compatible or
> taint the kernel in some way. The fact that your wireless driver
> seems to have moved into something called "iwlegacy" seems to
> indicate that it's pretty old!

No, I was just assuming they were somehow linked to each other but
don't know if that's correct!

>
>> The reason I asked the last question is that I thought I fedora
>> installations worked without internet connections previously. I
>> also thought live installs required some form of internet
>> connection cable or WiFi before allowing it to go ahead. I do not
>> however thing I had to configure WiFi before installing Fedora so
>> assume that was my main problem.
>
> Quite often the live install images have a lot of hardware drivers
> enabled by default to ensure they'll work on as much hardware as
> possible. I don't know whether the installer is smart enough to then
> also install those required drivers when installing the system.
> Depending on the live CD it might have enough packages on it to
> install the system without a network connection. Some, however, only
> have the minimum number of packages to get a system up and running
> and if you have weird hardware you might find that stuff doesn't work
> after installation.


OK

>
> Shane.
>
> _______________________________________________ Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol

Thanks again for the explanation, it was quite revealing what was in
/boot/config-$(uname -r)!

--
Peter H



------------------------------

Message: 3
Date: Tue, 29 Mar 2016 17:18:02 +0100
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Module Queries (was Grub2 and Fedora 23)
Message-ID: <56FAAABA.9070106@virginmedia.com>
Content-Type: text/plain; charset=windows-1252; format=flowed



On 29/03/16 16:50, Steve King wrote:
>> After my recent experiences, I realize I am not sure how/when modules
>> are loaded and for the benefit of others like me, some clarification my
>> be of some help!
>
> Modules are actually contained in two separate areas. The first is
> /lib/modules and the second is the initial ram disk.
>
> The initial ram disk is created each time up upgrade or install a new
> kernel, and takes a sub-set of the modules in /lib/modules.
> the initial ram disk (initrd) is loaded along side the kernel by the boot
> loader, GRUB in your case.
> In theory the initrd only contains the modules necessary to mount the root
> filesystem, but normally there are a few others in there (most of the
> initrd creation scripts err on the side of too many rather than too few)
>
> Once / is mounted, additional can be loaded directly from /lib/modules.
>
> You can extract /boot/initrd.img-<kernel version>, on my debian system it
> is a gzipped cpio archive.
> $ mkdir /tmp/foo
> $ cd /tmp/foo
> $ gzip -d < /boot/initrd.img-3.16.0-4-amd64 | cpio --extract

Probably me, but it did not work. I have a
/boot/initramfs-4.4.3-300.fc23.x86_64.img, should I be able to extract
that!?

>
> You will see that the initrd has its own /lib/modules
>
> I think there is a size limit on initrd imposed by GRUB2 of 350 or so Mbytes.
>
> Thus my previous email about you booting fedora core using the mint kernel.
> You would only see the mint initrd modules loaded as the ones in fedora
> core /lib/modules would not be compatible with the mint kernel.


Thanks for the useful info above, it is a lot clearer now and indeed
looks like the answer.

FWIW I have up till recently only had one Linux distro when dual booting
and the above problem did not occur. I only added Mint because there
was a lot on good howto's that helped me understand how to install
Wordpress locally!!

I now wished I had not done it, but it is now all working.


>
> Regards,
>
> --
> Steve
>
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol
>

Regards
--
Peter H



------------------------------

Message: 4
Date: Tue, 29 Mar 2016 17:28:50 +0100
From: Sebastian <sebsebseb_mageia@gmx.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>,
sebastian <sebsebseb_mageia@gmx.com>
Subject: Re: [bristol] Module Queries (was Grub2 and Fedora 23)
Message-ID: <56FAAD42.8030802@gmx.com>
Content-Type: text/plain; charset=windows-1252; format=flowed


>
> FWIW I have up till recently only had one Linux distro when dual
> booting and the above problem did not occur. I only added Mint
> because there was a lot on good howto's that helped me understand how
> to install Wordpress locally!!
>
> I now wished I had not done it, but it is now all working.

Hi Peter

I wondered why you installed Mint. Oh Wordpress ok, what you doing with
Wordpress? And nah muti booting Linux distro's can be part of the Linux
fun :). I'll be setting up a nice multi boot on this lap top when I
bother to do it hmm.

Regards

Sebastian



------------------------------

Message: 5
Date: Tue, 29 Mar 2016 18:32:52 +0100
From: Steve King <steve@invux.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Module Queries (was Grub2 and Fedora 23)
Message-ID: <85j5mp4y8dk831y8d3mt8hqk.1459272772031@email.android.com>
Content-Type: text/plain; charset="utf-8"

I don't know what fc uses. Is it squashfs?

What does file say it is?

--
Steve

Sent from my phone

-------- Original Message --------
From:Peter Hemmings <peternsomerset@virginmedia.com>
Sent:Tue, 29 Mar 2016 17:18:02 +0100
To:Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject:Re: [bristol] Module Queries (was Grub2 and Fedora 23)

>
>
>On 29/03/16 16:50, Steve King wrote:
>>> After my recent experiences, I realize I am not sure how/when modules
>>> are loaded and for the benefit of others like me, some clarification my
>>> be of some help!
>>
>> Modules are actually contained in two separate areas. The first is
>> /lib/modules and the second is the initial ram disk.
>>
>> The initial ram disk is created each time up upgrade or install a new
>> kernel, and takes a sub-set of the modules in /lib/modules.
>> the initial ram disk (initrd) is loaded along side the kernel by the boot
>> loader, GRUB in your case.
>> In theory the initrd only contains the modules necessary to mount the root
>> filesystem, but normally there are a few others in there (most of the
>> initrd creation scripts err on the side of too many rather than too few)
>>
>> Once / is mounted, additional can be loaded directly from /lib/modules.
>>
>> You can extract /boot/initrd.img-<kernel version>, on my debian system it
>> is a gzipped cpio archive.
>> $ mkdir /tmp/foo
>> $ cd /tmp/foo
>> $ gzip -d < /boot/initrd.img-3.16.0-4-amd64 | cpio --extract
>
>Probably me, but it did not work. I have a
>/boot/initramfs-4.4.3-300.fc23.x86_64.img, should I be able to extract
>that!?
>
>>
>> You will see that the initrd has its own /lib/modules
>>
>> I think there is a size limit on initrd imposed by GRUB2 of 350 or so Mbytes.
>>
>> Thus my previous email about you booting fedora core using the mint kernel.
>> You would only see the mint initrd modules loaded as the ones in fedora
>> core /lib/modules would not be compatible with the mint kernel.
>
>
>Thanks for the useful info above, it is a lot clearer now and indeed
>looks like the answer.
>
>FWIW I have up till recently only had one Linux distro when dual booting
>and the above problem did not occur. I only added Mint because there
>was a lot on good howto's that helped me understand how to install
>Wordpress locally!!
>
>I now wished I had not done it, but it is now all working.
>
>
>>
>> Regards,
>>
>> --
>> Steve
>>
>>
>> _______________________________________________
>> Bristol mailing list
>> Bristol@mailman.lug.org.uk
>> https://mailman.lug.org.uk/mailman/listinfo/bristol
>>
>
>Regards
>--
>Peter H
>
>_______________________________________________
>Bristol mailing list
>Bristol@mailman.lug.org.uk
>https://mailman.lug.org.uk/mailman/listinfo/bristol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20160329/918ce52a/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 639, Issue 4
***************************************

Bristol Digest, Vol 639, Issue 3

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Module Queries (was Grub2 and Fedora 23) (Peter Hemmings)
2. Re: Module Queries (was Grub2 and Fedora 23) (Shane McEwan)
3. Re: Lost Fedora wifi after adding Mint 17! (grub) (Steve King)
4. Re: Module Queries (was Grub2 and Fedora 23) (Sebastian)
5. Re: Lost Fedora wifi after adding Mint 17! (grub) (Sebastian)


----------------------------------------------------------------------

Message: 1
Date: Tue, 29 Mar 2016 14:14:51 +0100
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: [bristol] Module Queries (was Grub2 and Fedora 23)
Message-ID: <56FA7FCB.1030201@virginmedia.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

After my recent experiences, I realize I am not sure how/when modules
are loaded and for the benefit of others like me, some clarification my
be of some help!

Brief background:

Have a Thinkpad T60 with a 3945ABG wireless chip.
After adding another (Mint 17) OS to my dual boot (with XP) grub on Mint
had problems probing Fedora 23 (Fedora uses LVM).
Eventually re-installed Fedora on same partition and Fedora grub2
probed the other OS's OK but without wireless and many other modules.

1. Are some modules modules loaded from the kernel and any others
downloaded as required on installation or are they all in the kernel now?

2. If modules are from both places are they all listed with modprobe?

3. Is it possible that my wireless module has been reduced to
semi-redundant and in the latest kernels now needs iwlegacy to run iwl3945?

4. If the above was the case then is it possible that previous kernels
had the module and just worked, but now I have to download it?

The reason I asked the last question is that I thought I fedora
installations worked without internet connections previously. I also
thought live installs required some form of internet connection cable or
WiFi before allowing it to go ahead.
I do not however thing I had to configure WiFi before installing Fedora
so assume that was my main problem.

Sorry for some of the basic questions but since the days of manually
installing wireless modules (many years ago) I have not encountered any
problems and forgotten how it all works!

Regards

--
Peter H



------------------------------

Message: 2
Date: Tue, 29 Mar 2016 15:24:36 +0100
From: Shane McEwan <shane@mcewan.id.au>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] Module Queries (was Grub2 and Fedora 23)
Message-ID: <56FA9023.2070006@mcewan.id.au>
Content-Type: text/plain; charset=utf-8; format=flowed

On 29/03/16 14:14, Peter Hemmings wrote:
> 1. Are some modules modules loaded from the kernel and any others
> downloaded as required on installation or are they all in the kernel
> now?

When you say "modules" you're really talking about "kernel modules".
Back in the olden days the Linux kernel didn't have modules. Drivers
needed to be compiled into the kernel. If you had exotic hardware you
would often need to recompile the whole kernel because the drivers you
needed weren't included in there by default. Fun times. When the kernel
module functionality was added kernel drivers were gradually modularised
and now almost all drivers run as modules.

On my Ubuntu system (I can't remember about Fedora) I can look at the
`/boot/config-$(uname -r)` file and see what options the kernel was
compiled with. Settings marked with "y" are compiled into the kernel,
settings with "m" are built as modules for optional loading at boot time.

Most distros package the modules into separate packages so you can
selectively choose what hardware to support. If the modules you need are
not included in a default install package list then you'll need to
manually install the packages in order to get the modules for the
kernel. That might mean downloading the RPM files on a machine that has
Internet access, putting the files onto a USB stick, and manually
installing the packages in order to get network access working.

> 2. If modules are from both places are they all listed with
> modprobe?

`lsmod` you mean? That will list all the dynamically loaded modules. It
won't list the drivers compiled directly into the kernel.

> 3. Is it possible that my wireless module has been reduced to
> semi-redundant and in the latest kernels now needs iwlegacy to run
> iwl3945?

I think iwlegacy is just the new name for some old Intel modules that
are probably not being developed any more. You might need to add iwl3945
to the /etc/modules file to make sure it loads on boot but I would have
thought it would be automatic.

> 4. If the above was the case then is it possible that previous
> kernels had the module and just worked, but now I have to download
> it?

It's possible. Newer distros might change what modules are installed and
enabled by default. Particularly if they're old and unstable or the
kernel module ABI has changed and they're no longer compatible or taint
the kernel in some way. The fact that your wireless driver seems to have
moved into something called "iwlegacy" seems to indicate that it's
pretty old!

> The reason I asked the last question is that I thought I fedora
> installations worked without internet connections previously. I also
> thought live installs required some form of internet connection
> cable or WiFi before allowing it to go ahead. I do not however thing
> I had to configure WiFi before installing Fedora so assume that was
> my main problem.

Quite often the live install images have a lot of hardware drivers
enabled by default to ensure they'll work on as much hardware as
possible. I don't know whether the installer is smart enough to then
also install those required drivers when installing the system.
Depending on the live CD it might have enough packages on it to install
the system without a network connection. Some, however, only have the
minimum number of packages to get a system up and running and if you
have weird hardware you might find that stuff doesn't work after
installation.

Shane.



------------------------------

Message: 3
Date: Tue, 29 Mar 2016 16:36:06 +0100
From: "Steve King" <debian@invux.com>
To: "Bristol and Bath Linux User Group" <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Lost Fedora wifi after adding Mint 17! (grub)
Message-ID:
<82c59f274893571958ef25322aa2a9a7.squirrel@dazzle.invux.com>
Content-Type: text/plain;charset=iso-8859-1

> On 24/03/16 13:16, Peter Hemmings wrote:
>> Unfortunately the ppa function is not supported in my Mint 17 so cannot
>> activate repository/download boot-repair
>
> sudo apt-get install python-software-properties
>
>> I did an update-grub again and its still the same (last option in
>> "Advanced Menu" gives latest fc23).
>>
>> Could this be anything to do with fc23 being on lvm!?
>
> I think it's just that Mint has no idea what order it should put the
> detected non-Mint kernels in the Grub menu.
>
> I suspect you're going to need a custom Grub config because you've got a
> custom setup. You can't expect the defaults to work all the time if
> you're not running a default system. With a bit of trial and error you
> can update the "GRUB_DEFAULT" variable in "/etc/default/grub" in Mint to
> point to the kernel you want to boot by default. This page should help
> you device what to set "GRUB_DEFAULT" to:
> https://help.ubuntu.com/community/Grub2/Submenus#Setting_a_Submenu_entry_as_the_default
>
> Note that next time you update Fedora it will likely overwrite your grub
> with its own configuration and you'll be back to square one. The joys of
> dual-booting!
>
> Shane.
>

I would second this assessment, you are probably booting into Fedora Core
using mint's kernel, in which case you would not get the suite of modules
you need as the ones in /lib/modules would be incompatible with your
running kernel.

In my experience it is always messy dual booting each installed operating
system expects to manage all the others.

--
Steve




------------------------------

Message: 4
Date: Tue, 29 Mar 2016 16:41:32 +0100
From: Sebastian <sebsebseb_mageia@gmx.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>,
sebastian <sebsebseb_mageia@gmx.com>
Subject: Re: [bristol] Module Queries (was Grub2 and Fedora 23)
Message-ID: <56FAA22C.9060305@gmx.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

Yes so in response to the below email from Shane and for Peter,
generally most hardware should just work as long as it's standard enough
in a distro by default, with the exception of propritary wireless and
graphics cards drivers for example since the Linux kernel can't just
support that by default etc since that would go against the lisence. I
think in Ubuntu for example after an install and it mentions how can
remove support for hardware that don't have, that's probably the kernel
module type stuff really. No one really generally needs to compile
their own kernel or modules into it these days etc it seems, unless they
are doing something rather specific and out of the ordinary that
requires that generally.

On 29/03/16 15:24, Shane McEwan wrote:
> On 29/03/16 14:14, Peter Hemmings wrote:
>> 1. Are some modules modules loaded from the kernel and any others
>> downloaded as required on installation or are they all in the kernel
>> now?
>
> When you say "modules" you're really talking about "kernel modules".
> Back in the olden days the Linux kernel didn't have modules. Drivers
> needed to be compiled into the kernel. If you had exotic hardware you
> would often need to recompile the whole kernel because the drivers you
> needed weren't included in there by default. Fun times. When the
> kernel module functionality was added kernel drivers were gradually
> modularised and now almost all drivers run as modules.
>
> On my Ubuntu system (I can't remember about Fedora) I can look at the
> `/boot/config-$(uname -r)` file and see what options the kernel was
> compiled with. Settings marked with "y" are compiled into the kernel,
> settings with "m" are built as modules for optional loading at boot time.
>
> Most distros package the modules into separate packages so you can
> selectively choose what hardware to support. If the modules you need
> are not included in a default install package list then you'll need to
> manually install the packages in order to get the modules for the
> kernel. That might mean downloading the RPM files on a machine that
> has Internet access, putting the files onto a USB stick, and manually
> installing the packages in order to get network access working.
>
>> 2. If modules are from both places are they all listed with
>> modprobe?
>
> `lsmod` you mean? That will list all the dynamically loaded modules.
> It won't list the drivers compiled directly into the kernel.
>
>> 3. Is it possible that my wireless module has been reduced to
>> semi-redundant and in the latest kernels now needs iwlegacy to run
>> iwl3945?
>
> I think iwlegacy is just the new name for some old Intel modules that
> are probably not being developed any more. You might need to add
> iwl3945 to the /etc/modules file to make sure it loads on boot but I
> would have thought it would be automatic.
>
>> 4. If the above was the case then is it possible that previous
>> kernels had the module and just worked, but now I have to download
>> it?
>
> It's possible. Newer distros might change what modules are installed
> and enabled by default. Particularly if they're old and unstable or
> the kernel module ABI has changed and they're no longer compatible or
> taint the kernel in some way. The fact that your wireless driver seems
> to have moved into something called "iwlegacy" seems to indicate that
> it's pretty old!
>
>> The reason I asked the last question is that I thought I fedora
>> installations worked without internet connections previously. I also
>> thought live installs required some form of internet connection
>> cable or WiFi before allowing it to go ahead. I do not however thing
>> I had to configure WiFi before installing Fedora so assume that was
>> my main problem.
>
> Quite often the live install images have a lot of hardware drivers
> enabled by default to ensure they'll work on as much hardware as
> possible. I don't know whether the installer is smart enough to then
> also install those required drivers when installing the system.
> Depending on the live CD it might have enough packages on it to
> install the system without a network connection. Some, however, only
> have the minimum number of packages to get a system up and running and
> if you have weird hardware you might find that stuff doesn't work
> after installation.
>
> Shane.
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol




------------------------------

Message: 5
Date: Tue, 29 Mar 2016 16:45:25 +0100
From: Sebastian <sebsebseb_mageia@gmx.com>
To: debian@invux.com, Bristol and Bath Linux User Group
<bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Lost Fedora wifi after adding Mint 17! (grub)
Message-ID: <56FAA315.9070701@gmx.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

Yep make sure that you are using the correct kernel for the distro that
installed it, and things should go more ok :).

On 29/03/16 16:36, Steve King wrote:
>> On 24/03/16 13:16, Peter Hemmings wrote:
>>> Unfortunately the ppa function is not supported in my Mint 17 so cannot
>>> activate repository/download boot-repair
>> sudo apt-get install python-software-properties
>>
>>> I did an update-grub again and its still the same (last option in
>>> "Advanced Menu" gives latest fc23).
>>>
>>> Could this be anything to do with fc23 being on lvm!?
>> I think it's just that Mint has no idea what order it should put the
>> detected non-Mint kernels in the Grub menu.
>>
>> I suspect you're going to need a custom Grub config because you've got a
>> custom setup. You can't expect the defaults to work all the time if
>> you're not running a default system. With a bit of trial and error you
>> can update the "GRUB_DEFAULT" variable in "/etc/default/grub" in Mint to
>> point to the kernel you want to boot by default. This page should help
>> you device what to set "GRUB_DEFAULT" to:
>> https://help.ubuntu.com/community/Grub2/Submenus#Setting_a_Submenu_entry_as_the_default
>>
>> Note that next time you update Fedora it will likely overwrite your grub
>> with its own configuration and you'll be back to square one. The joys of
>> dual-booting!
>>
>> Shane.
>>
> I would second this assessment, you are probably booting into Fedora Core
> using mint's kernel, in which case you would not get the suite of modules
> you need as the ones in /lib/modules would be incompatible with your
> running kernel.
>
> In my experience it is always messy dual booting each installed operating
> system expects to manage all the others.
>
> --
> Steve
>
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol




------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 639, Issue 3
***************************************

Bristol Digest, Vol 639, Issue 2

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Grub2 and Fedora 23 (Peter Hemmings)
2. Re: Grub2 and Fedora 23 (Sebastian)


----------------------------------------------------------------------

Message: 1
Date: Mon, 28 Mar 2016 21:48:26 +0100
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: [bristol] Grub2 and Fedora 23
Message-ID: <56F9989A.2020603@virginmedia.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi,

I gave up as I lost being able to boot fc23 from a stick!!


Re-installed fc23 (LXF dvd) on the same partition (sda3) with my data on
another partition (all lvm except boot).

First the good news:

I can now boot all 3 versions of fc23 plus windoze plus Mint 17 and
thought all is fine but.......

it's not.

On trying to do an update I could not connect and realized I had no WiFi!

Tried on all 3 fedora listed kernels (and they are all different when I
checked with edit on grub menu) and I have the same problem.

Double checked with Mint 17 and all is OK, iwlegacy and iwl3945 are loaded.
On further checking I found I have about 24 modules loaded on fc23 but
about 64 on the Mint 17, I know Fedora is cutting edge but not that
clever that it can run with so few modules!

I checked the grub menu's and the 3 fedora kernels do not seem to be
rescue versions.

I did try to do an update this afternoon (as DVD was a liitle old) but
could not get the repository.


While writing this post I tried to update again and it worked (ethernet).

Waited while it did about 1200 updates, removed cable and re-booted and
guess what.......

Wifi now works and LOTS of modules loaded!

I have a new kernel 4.4.6-300-fc23 so maybe that (and some modules) were
the problem with my (oldish) H/W.

Any ideas as to what caused this!?

I must write 100 times:

"Always make sure the system is up to date before posting".

Although I am not sure if this wasn't also a grub problem.

Going to have a beer now as I did not get to the KT on Saturday.


Regards

--
Peter H



------------------------------

Message: 2
Date: Tue, 29 Mar 2016 00:12:13 +0100
From: Sebastian <sebsebseb_mageia@gmx.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>,
Sebastian <sebsebseb_mageia@gmx.com>
Subject: Re: [bristol] Grub2 and Fedora 23
Message-ID: <56F9BA4D.8040601@gmx.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi Peter

Replying below inline:

On 28/03/16 21:48, Peter Hemmings wrote:
> Hi,
>
> I gave up as I lost being able to boot fc23 from a stick!!
>
>
> Re-installed fc23 (LXF dvd) on the same partition (sda3) with my data
> on another partition (all lvm except boot).
>
> First the good news:
>
> I can now boot all 3 versions of fc23 plus windoze plus Mint 17 and
> thought all is fine but.......
>
> it's not.
>
> On trying to do an update I could not connect and realized I had no WiFi!
>
> Tried on all 3 fedora listed kernels (and they are all different when
> I checked with edit on grub menu) and I have the same problem.
>
> Double checked with Mint 17 and all is OK, iwlegacy and iwl3945 are
> loaded.
> On further checking I found I have about 24 modules loaded on fc23 but
> about 64 on the Mint 17, I know Fedora is cutting edge but not that
> clever that it can run with so few modules!
>
> I checked the grub menu's and the 3 fedora kernels do not seem to be
> rescue versions.
>
> I did try to do an update this afternoon (as DVD was a liitle old) but
> could not get the repository.
>
>
> While writing this post I tried to update again and it worked (ethernet).
>
> Waited while it did about 1200 updates, removed cable and re-booted
> and guess what.......
>
> Wifi now works and LOTS of modules loaded!
>
> I have a new kernel 4.4.6-300-fc23 so maybe that (and some modules)
> were the problem with my (oldish) H/W.
>
> Any ideas as to what caused this!?
You probably needed to be Internet connected via Ethernet to get the
driver for the wireless. Plus Fedora won't have any proprietary wireless
drivers and things like that by default. With Ubuntu on this HP lap top
I have to Ethernet first and then I can install the wireless driver in
the usual way.
>
> I must write 100 times:
>
> "Always make sure the system is up to date before posting".
Yes generally that's a good idea to install all the updates first after
installing any Linux distro.
>
> Although I am not sure if this wasn't also a grub problem.
No Grub is only for booting up operating systems, so wireless issues and
things like that will have nothing to do with Grub.
>
> Going to have a beer now as I did not get to the KT on Saturday.
Oh you didn't get to the KT on Saturday, how come? I also didn't get
there in the end. So I wonder who actually turned up if anyone.
>
>
> Regards
>
Regards

Sebastian



------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 639, Issue 2
***************************************

Senin, 28 Maret 2016

Bristol Digest, Vol 639, Issue 1

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Re-configuring Grub2 (was Lost Fedora wifi after adding Mint
17) (Peter Hemmings)


----------------------------------------------------------------------

Message: 1
Date: Mon, 28 Mar 2016 00:21:54 +0100
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: [bristol] Re-configuring Grub2 (was Lost Fedora wifi after
adding Mint 17)
Message-ID: <56F86B12.7050203@virginmedia.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi,

On 24/03/16 13:52, Shane McEwan wrote:
> On 24/03/16 13:16, Peter Hemmings wrote:
>> Unfortunately the ppa function is not supported in my Mint 17 so cannot
>> activate repository/download boot-repair
>
> sudo apt-get install python-software-properties

Did that and installed boot-repair.

Ran it but must have made a mistake as good auld widoze booted without grub.

Made a rescuetux/grub stick to boot Mint again.

Booted Mint and did "grub-mkconfig" (noticed it picked up the fc23 with
the same duplicate menu entries with the os prober. It took quite some time.

I think I did a grub-update (getting a bit late) but there are no
entries on my grub boot menu.

As I can boot fc23 from the stick I would like to run from there.

If I do a "grub2-mkconfig then "grub-update" from fc23 should that work,
or have I missed something!?

FWIW I have the boot flag set on the first "windows" partition.


>
> I suspect you're going to need a custom Grub config because you've got a
> custom setup. You can't expect the defaults to work all the time if
> you're not running a default system. With a bit of trial and error you
> can update the "GRUB_DEFAULT" variable in "/etc/default/grub" in Mint to
> point to the kernel you want to boot by default. This page should help
> you device what to set "GRUB_DEFAULT" to:
> https://help.ubuntu.com/community/Grub2/Submenus#Setting_a_Submenu_entry_as_the_default

I would prefer to try fc23 grub2 and see if it can make a better menu
before making a custom one.

>
> Note that next time you update Fedora it will likely overwrite your grub
> with its own configuration and you'll be back to square one. The joys of
> dual-booting!

Yep that is why I don't want to do it.

>
> Shane.
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol

Regards
--
Peter H



------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 639, Issue 1
***************************************

Jumat, 25 Maret 2016

Bristol Digest, Vol 638, Issue 6

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Re: LUG Meeting this Saturday (peternsomerset@virginmedia.com)
2. Re: Lost Fedora wifi after adding Mint 17! (grub) (Peter Hemmings)
3. Re: Lost Fedora wifi after adding Mint 17! (grub) (Shane McEwan)
4. Re: Lost Fedora wifi after adding Mint 17! (grub) (Peter Hemmings)
5. Re: Lost Fedora wifi after adding Mint 17! (grub) (Shane McEwan)


----------------------------------------------------------------------

Message: 1
Date: Thu, 24 Mar 2016 15:12:12 +0300
From: peternsomerset@virginmedia.com
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] LUG Meeting this Saturday
Message-ID: <1458821532.547414444@f25.my.com>
Content-Type: text/plain; charset="utf-8"


Hope to be there about 2pm
--
Sent from myMail app for Android
Peter H Thursday, 24 March 2016, 11:49am +00:00 from Sebastian < sebsebseb_mageia@gmx.com> :

>Hi
>
>Turns out I haven't been for a few months now, but I do indeed intend to
>be at the LUG meeting this Saturday, and will probably be there about
>2:30pm. Who else is intending on being there and when?
>
>For anyone that does not know, we are usually at the back of the
>Knight's Templar Pub (
>https://www.jdwetherspoon.com/pubs/all-pubs/england/bristol/the-knights-templar-bristol
>) in Temple Quay near temple meads train station, at the back of it on
>the lower level, at the left by the plugs, or near there instead if
>someone else is already there. People usually turn up starting from 1pm
>with someone likely being there for sure at 1:30pm and then people
>usually leave about 5pm or a bit later.
>
>Hope to meet some new people there ideally as well.
>
>Come along for an informal meet with fellow
>Linux/opensource/freesoftware (free as in software freedom) enthusiasts,
>where we can talk tech, or show some tech to other people, or even give
>away some for free maybe, and other tech related things. You could also
>for example take the opportunity to discuss politics if you really want :).
>
>Easter Regards
>
>Sebastian
>
>_______________________________________________
>Bristol mailing list
>Bristol@mailman.lug.org.uk
>https://mailman.lug.org.uk/mailman/listinfo/bristol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20160324/adf68169/attachment-0001.html>

------------------------------

Message: 2
Date: Thu, 24 Mar 2016 13:16:30 +0000
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Lost Fedora wifi after adding Mint 17! (grub)
Message-ID: <56F3E8AE.2000907@virginmedia.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi,

On 24/03/16 11:10, Shane McEwan wrote:
> G'day!
>
> Try the Mint Boot Repair tool:
> https://mintguide.org/tools/37-restore-grub-boot-loader-in-linux-mint-after-installation-reinstallation-windows.html
>

Unfortunately the ppa function is not supported in my Mint 17 so cannot
activate repository/download boot-repair

I did an update-grub again and its still the same (last option in
"Advanced Menu" gives latest fc23).

Could this be anything to do with fc23 being on lvm!?

When I do an update it is quick picking up Mint/memtest but waits about
a minute before detecting Fedora.

>
> It will search all your disks for possible boot options and rebuild
> your Grub bootloader with sensible defaults.
>
> Shane.
>
Regards
--
Peter H



------------------------------

Message: 3
Date: Thu, 24 Mar 2016 13:52:14 +0000
From: Shane McEwan <shane@mcewan.id.au>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] Lost Fedora wifi after adding Mint 17! (grub)
Message-ID: <56F3F10E.2010501@mcewan.id.au>
Content-Type: text/plain; charset=utf-8; format=flowed

On 24/03/16 13:16, Peter Hemmings wrote:
> Unfortunately the ppa function is not supported in my Mint 17 so cannot
> activate repository/download boot-repair

sudo apt-get install python-software-properties

> I did an update-grub again and its still the same (last option in
> "Advanced Menu" gives latest fc23).
>
> Could this be anything to do with fc23 being on lvm!?

I think it's just that Mint has no idea what order it should put the
detected non-Mint kernels in the Grub menu.

I suspect you're going to need a custom Grub config because you've got a
custom setup. You can't expect the defaults to work all the time if
you're not running a default system. With a bit of trial and error you
can update the "GRUB_DEFAULT" variable in "/etc/default/grub" in Mint to
point to the kernel you want to boot by default. This page should help
you device what to set "GRUB_DEFAULT" to:
https://help.ubuntu.com/community/Grub2/Submenus#Setting_a_Submenu_entry_as_the_default

Note that next time you update Fedora it will likely overwrite your grub
with its own configuration and you'll be back to square one. The joys of
dual-booting!

Shane.



------------------------------

Message: 4
Date: Thu, 24 Mar 2016 15:07:04 +0000
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Lost Fedora wifi after adding Mint 17! (grub)
Message-ID: <56F40298.4030007@virginmedia.com>
Content-Type: text/plain; charset=windows-1252; format=flowed



On 24/03/16 13:52, Shane McEwan wrote:
> On 24/03/16 13:16, Peter Hemmings wrote:
>> Unfortunately the ppa function is not supported in my Mint 17 so cannot
>> activate repository/download boot-repair
>
> sudo apt-get install python-software-properties

OK will add that then will try the repair and see if it manages to sort
itself.

>
>> I did an update-grub again and its still the same (last option in
>> "Advanced Menu" gives latest fc23).
>>
>> Could this be anything to do with fc23 being on lvm!?
>
> I think it's just that Mint has no idea what order it should put the
> detected non-Mint kernels in the Grub menu.
>
> I suspect you're going to need a custom Grub config because you've got a
> custom setup.

Yep I think so.

You can't expect the defaults to work all the time if
> you're not running a default system. With a bit of trial and error you
> can update the "GRUB_DEFAULT" variable in "/etc/default/grub" in Mint to
> point to the kernel you want to boot by default. This page should help
> you device what to set "GRUB_DEFAULT" to:
> https://help.ubuntu.com/community/Grub2/Submenus#Setting_a_Submenu_entry_as_the_default

OK

I assume the menu heading will remain the same. Even so it would be
better to set it to default.

I know Linux is all thing to all people on all distros, but I did not
think grub headings in menus were different, my Fedora Grub actually
shows different kernel numbers for each fc23 listed (in my case set to 3)!

>
>
> Note that next time you update Fedora it will likely overwrite your grub
> with its own configuration and you'll be back to square one. The joys of
> dual-booting!

Yea, but I can live with that, or change back to the Fedora grub if I
can remember what to do!

>
> Shane.
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol

Regards
--
Peter H



------------------------------

Message: 5
Date: Thu, 24 Mar 2016 15:38:38 +0000
From: Shane McEwan <shane@mcewan.id.au>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] Lost Fedora wifi after adding Mint 17! (grub)
Message-ID: <56F409FE.9070106@mcewan.id.au>
Content-Type: text/plain; charset=utf-8; format=flowed

On 24/03/16 15:07, Peter Hemmings wrote:
> I know Linux is all thing to all people on all distros, but I did not
> think grub headings in menus were different, my Fedora Grub actually
> shows different kernel numbers for each fc23 listed (in my case set to 3)!

Every distro has their own naming convention for grub entries. The grub
menu is completely customisable.

Customisation - Linux's greatest strength and the biggest weakness.

Shane.



------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 638, Issue 6
***************************************

Kamis, 24 Maret 2016

Bristol Digest, Vol 638, Issue 5

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Lost Fedora wifi after adding Mint 17! (grub) (Peter Hemmings)
2. Re: Lost Fedora wifi after adding Mint 17! (grub) (Amias Channer)
3. Re: Lost Fedora wifi after adding Mint 17! (grub) (Shane McEwan)
4. LUG Meeting this Saturday 26th March 2016 (Sebastian)


----------------------------------------------------------------------

Message: 1
Date: Wed, 23 Mar 2016 20:48:15 +0000
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: [bristol] Lost Fedora wifi after adding Mint 17! (grub)
Message-ID: <56F3010F.7070309@virginmedia.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi,

After having problems with installing local wordpress on fc23. I
installed Mint 17 of 36GB unallocated part of the HD (more info for WP
on Mint forums).

Installed mint from Live CD and let it install its bootloader.

Mint17 works OK

I then tried to boot fc32 (as main OS) from non advanced grub menu.
It shows it as fc23, it booted BUT no wifi!

Thought my (laptop) pci card had failed.
Checked wifi modules on Mint (awl3945) all OK.
Checked modules on fc23 and they were not there!
There were also a lot less modules loaded!!!

I then did "uname -a" and found it is running an old fc22 kernel, from
where I do not know!

I used mint live Cd to re install grub and did a grub update, but it
still boots old kernel (4.04-301 fc22). and stil sows it as fedora 23 on
the menu.

The Mint menu gives one option for fc23 and an "advanced options" which
brings up 4 identical options!:

"Fedora Release 23 (Twenty Three) (on /dev/mapper/fedora-root)"

The 1st has only a rescue image and works with no wifi
The 2nd is 4.4.3-300 fc23 and works OK
The 3rd is 4.4.4-301 fc23 and works OK
The 4th is 4.4.5-300 fc23 and works OK

Ant ideas why the first option is running fc22 and not 23?

How can I boot from a reasonable list of options, do I have to clear out
grub more thoroughly!?

I do not want to manually change grub options as, (I assume) when I next
upgrade grub prober will give me the same problems.


Regards

--
Peter H



------------------------------

Message: 2
Date: Thu, 24 Mar 2016 10:27:13 +0000
From: Amias Channer <me@amias.net>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Lost Fedora wifi after adding Mint 17! (grub)
Message-ID:
<CAMgU7XUVaq2Hc+Sp=8UVjed2N5W+THRXXaeJg_bVOEd1rTe93A@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Hello Peter,

as a total guess when mint installed its boot loader and added the
fedora options it didn't honour the boot parameters you set in fedora.
Thus leaving your wifi uninitialised in fedora. I'd look dmesg and see
if there is any mention of the wifi card in there.

The other option could be that mint has uploaded different firmware to
your wifi card and this has made it appear different to fedora or
somehow triggered a bug, pretty unlikley though. There would probably
be errors in the logs if this where the case.

Cheers
Amias

On 23 March 2016 at 20:48, Peter Hemmings
<peternsomerset@virginmedia.com> wrote:
> Hi,
>
> After having problems with installing local wordpress on fc23. I installed
> Mint 17 of 36GB unallocated part of the HD (more info for WP on Mint
> forums).
>
> Installed mint from Live CD and let it install its bootloader.
>
> Mint17 works OK
>
> I then tried to boot fc32 (as main OS) from non advanced grub menu.
> It shows it as fc23, it booted BUT no wifi!
>
> Thought my (laptop) pci card had failed.
> Checked wifi modules on Mint (awl3945) all OK.
> Checked modules on fc23 and they were not there!
> There were also a lot less modules loaded!!!
>
> I then did "uname -a" and found it is running an old fc22 kernel, from where
> I do not know!
>
> I used mint live Cd to re install grub and did a grub update, but it still
> boots old kernel (4.04-301 fc22). and stil sows it as fedora 23 on the menu.
>
> The Mint menu gives one option for fc23 and an "advanced options" which
> brings up 4 identical options!:
>
> "Fedora Release 23 (Twenty Three) (on /dev/mapper/fedora-root)"
>
> The 1st has only a rescue image and works with no wifi
> The 2nd is 4.4.3-300 fc23 and works OK
> The 3rd is 4.4.4-301 fc23 and works OK
> The 4th is 4.4.5-300 fc23 and works OK
>
> Ant ideas why the first option is running fc22 and not 23?
>
> How can I boot from a reasonable list of options, do I have to clear out
> grub more thoroughly!?
>
> I do not want to manually change grub options as, (I assume) when I next
> upgrade grub prober will give me the same problems.
>
>
> Regards
>
> --
> Peter H
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol



------------------------------

Message: 3
Date: Thu, 24 Mar 2016 11:10:24 +0000
From: Shane McEwan <shane@mcewan.id.au>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] Lost Fedora wifi after adding Mint 17! (grub)
Message-ID: <56F3CB20.4030201@mcewan.id.au>
Content-Type: text/plain; charset=utf-8; format=flowed

G'day!

Try the Mint Boot Repair tool:
https://mintguide.org/tools/37-restore-grub-boot-loader-in-linux-mint-after-installation-reinstallation-windows.html

It will search all your disks for possible boot options and rebuild your
Grub bootloader with sensible defaults.

Shane.

On 23/03/16 20:48, Peter Hemmings wrote:
> Hi,
>
> After having problems with installing local wordpress on fc23. I
> installed Mint 17 of 36GB unallocated part of the HD (more info for WP
> on Mint forums).
>
> Installed mint from Live CD and let it install its bootloader.
>
> Mint17 works OK
>
> I then tried to boot fc32 (as main OS) from non advanced grub menu.
> It shows it as fc23, it booted BUT no wifi!
>
> Thought my (laptop) pci card had failed.
> Checked wifi modules on Mint (awl3945) all OK.
> Checked modules on fc23 and they were not there!
> There were also a lot less modules loaded!!!
>
> I then did "uname -a" and found it is running an old fc22 kernel, from
> where I do not know!
>
> I used mint live Cd to re install grub and did a grub update, but it
> still boots old kernel (4.04-301 fc22). and stil sows it as fedora 23 on
> the menu.
>
> The Mint menu gives one option for fc23 and an "advanced options" which
> brings up 4 identical options!:
>
> "Fedora Release 23 (Twenty Three) (on /dev/mapper/fedora-root)"
>
> The 1st has only a rescue image and works with no wifi
> The 2nd is 4.4.3-300 fc23 and works OK
> The 3rd is 4.4.4-301 fc23 and works OK
> The 4th is 4.4.5-300 fc23 and works OK
>
> Ant ideas why the first option is running fc22 and not 23?
>
> How can I boot from a reasonable list of options, do I have to clear out
> grub more thoroughly!?
>
> I do not want to manually change grub options as, (I assume) when I next
> upgrade grub prober will give me the same problems.
>
>
> Regards
>



------------------------------

Message: 4
Date: Thu, 24 Mar 2016 11:49:47 +0000
From: Sebastian <sebsebseb_mageia@gmx.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>,
Sebastian <sebsebseb_mageia@gmx.com>
Subject: [bristol] LUG Meeting this Saturday 26th March 2016
Message-ID: <56F3D45B.1060902@gmx.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi

Turns out I haven't been for a few months now, but I do indeed intend to
be at the LUG meeting this Saturday, and will probably be there about
2:30pm. Who else is intending on being there and when?

For anyone that does not know, we are usually at the back of the
Knight's Templar Pub (
https://www.jdwetherspoon.com/pubs/all-pubs/england/bristol/the-knights-templar-bristol
) in Temple Quay near temple meads train station, at the back of it on
the lower level, at the left by the plugs, or near there instead if
someone else is already there. People usually turn up starting from 1pm
with someone likely being there for sure at 1:30pm and then people
usually leave about 5pm or a bit later.

Hope to meet some new people there ideally as well.

Come along for an informal meet with fellow
Linux/opensource/freesoftware (free as in software freedom) enthusiasts,
where we can talk tech, or show some tech to other people, or even give
away some for free maybe, and other tech related things. You could also
for example take the opportunity to discuss politics if you really want :).

Easter Regards

Sebastian



------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 638, Issue 5
***************************************

Rabu, 23 Maret 2016

Bristol Digest, Vol 638, Issue 4

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Re: LVM - free space not altering (Shane McEwan)
2. Re: LVM - free space not altering (Peter Hemmings)
3. Re: Bristol Digest, Vol 638, Issue 1 (Allen Coates)


----------------------------------------------------------------------

Message: 1
Date: Tue, 22 Mar 2016 12:07:11 +0000
From: Shane McEwan <shane@mcewan.id.au>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] LVM - free space not altering
Message-ID: <56F1356F.8050800@mcewan.id.au>
Content-Type: text/plain; charset=utf-8; format=flowed

On 22/03/16 11:28, David Smith wrote:
> Also, if you delete a file that a process still has open, the disk space isn't reallocated until the process closes that file. Especially relevant for large logfiles...

And if you deleted the files in a GUI then they're probably still
lurking in the Trash somewhere.

Also, the system reserves 5% of the disk for files owned by root. This
is to ensure that if the disk fills there's still a little bit free that
the system can use (useful on the root filesystem, not so useful on the
home filesystem). It's possible that if you were really close to being
full and the files you deleted were owned by root then you won't see the
space free up because you're just clearing out the reserved space. Try
turning off the reservation with `tune2fs -m 0 /dev/fedora_laptop/home`
and see if that frees up some space.

Shane.



------------------------------

Message: 2
Date: Tue, 22 Mar 2016 20:17:49 +0000
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] LVM - free space not altering
Message-ID: <56F1A86D.4090708@virginmedia.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi,

On 22/03/16 12:07, Shane McEwan wrote:
> On 22/03/16 11:28, David Smith wrote:
>> Also, if you delete a file that a process still has open, the disk
>> space isn't reallocated until the process closes that file.
>> Especially relevant for large logfiles...

OK
>
> And if you deleted the files in a GUI then they're probably still
> lurking in the Trash somewhere.

I did, moved them to the wastebasket then deleted them form it. The GUI
showed it as empty BUT I am not convinced as it used to showed a
progress bar for large files like my old iso's which I did not see and
it deleted the files very quickly!!

I just deleted another 800MB iso, deleted it from the wastebasket,
switched off and rebooted, LVM shows no changes. I also think they are
still somewhere on the disk.
but did a:
find . -type f -name '*.iso'
and they do not seem to be there.

I will bring it to the KT if I don't sort it by Saturday in case there
is an "expert" who want a free drink!
>
> Also, the system reserves 5% of the disk for files owned by root. This
> is to ensure that if the disk fills there's still a little bit free that
> the system can use (useful on the root filesystem, not so useful on the
> home filesystem). It's possible that if you were really close to being
> full and the files you deleted were owned by root then you won't see the
> space free up because you're just clearing out the reserved space. Try
> turning off the reservation with `tune2fs -m 0 /dev/fedora_laptop/home`
> and see if that frees up some space.

The big files were owned by me so I thought should have given up space.

> Shane.
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol

--
Peter H



------------------------------

Message: 3
Date: Tue, 22 Mar 2016 20:41:43 +0000
From: Allen Coates <lug-7@cidercounty.org.uk>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] Bristol Digest, Vol 638, Issue 1
Message-ID: <56F1AE07.9060207@cidercounty.org.uk>
Content-Type: text/plain; charset=windows-1252

Hi Ron

Sadly all the PCBs are full height. You couldn't even crop down the
metal back-plate.

Allen C

On 21/03/16 13:42, Ron Young wrote:
> from ron young
> Hi Allen Coates I am using a desktop HP/Compaq half height with an on
> board Graphics Card, Intel? 945G x86/MMX/SSE2, if you have a card that
> will fit this pc please bring it to the next meeting, Many Thanks. Ron
>



------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 638, Issue 4
***************************************