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
***************************************
Tidak ada komentar:
Posting Komentar