lubuntu-14.04-alternate-powerpc.iso missing fsadm so lvreduce --resizefs aborts...

Phill Whiteside PhillW at PhillW.net
Tue Jul 8 04:23:00 UTC 2014


Hi Mark,

I'm sure the others will scream at me, but as 14.04 desktop is over sized,
it will not fit on a CD. Alternate obviously does not have LiveCD
option.... However..... have a try of the 12.04 lubuntu desktop PPC, which
should have the ability to boot as LiveCD and have the ability to invoke
LVM stuff.

head over to
https://help.ubuntu.com/community/Lubuntu/PreviousReleases#A12.04 and see
if it works for you. If that link is slow / not working, then feel free to
use my mirror which for 12.04 is at  http://phillw.net/isos/lubuntu/precise/

I'm not a PPC person, but I do know lubuntu is your refuge and I will do
what ever I can to help out.

Thanks for helping on PPC,

Phill.


On 8 July 2014 04:15, Mark Millard <markmi at dsl-only.net> wrote:

> Hi.
>
> My original report to the list was informational (and cross checking)
> since I did not find any references to the issue when I looked around. My
> report did not even ask for help.
>
> Installing from the same .iso installed fsadm and the lvm software just
> fine and I also had no trouble setting up my lvm configuration in the first
> place. I've also been able to do everything that I wanted that is allowed
> for use on a already existing lvm context with / coming from the lvm live.
> (My use is at the simple end of things for lvm so far.)
>
> But one can not do an action that includes a reduce (shrink) to a live /
> (the root file system). So I tried to do that from the rescue-powerpc
> selection from the CD (so booted from different root). This is what I was
> reporting as not covered by the rescue-powerpc use of the CD. (apt-get is
> also missing from that context.) It may be that lvm's coverage for
> rescue-powerpc is just not to be complete due to space requirements and the
> relative priorities for what can be done fairly directly booted from that
> media via that selection. Such is not for me to say.
>
> Quoting
> http://askubuntu.com/questions/124465/how-do-i-shrink-the-root-logical-volume-lv-on-lvm
> ...
>
> It is not possible (to my knowledge) to shrink a filesystem while it is
> mounted, so we need to do the actual resizing from a Live CD.
>
>
> As far as I can tell this is still true. For my old iMac G3 context larger
> media does not work (the internal slot-drive is a CD-only one). I've not
> got around to setting up yet another alternate boot technique to some other
> root file system in order to do the reduction from where I can get
> everything required in place. At some point I will take the time to deal
> with doing that.
>
> I've not yet created an account to submit bug reports with. It may be a
> bit before I get to that.
>
>
> ===
> Mark Millard
> markmi at dsl-only.net
>
> On Jul 7, 2014, at 7:13 PM, Phill Whiteside <PhillW at PhillW.net> wrote:
>
> Hi,
>
> I recall that desktop PPC went over size. Julien took a sword to the
> alternate in order to ensure it is CD sized. In my humble opinion, people
> wanting to use LVM's should know how to install the tools needed. (I use
> LVM's, run 11 KVM machines and also SEL :D ).
>
> Do feel free to raise a bug report, I'm hopeful that it is not a massive
> job for Julien to add in the library for 14.04.1, but I also do not want to
> peck him to the point he gets fed up of PPC.
>
> Regards,
>
> Phill.
>
>
>
> On 8 July 2014 02:56, Mark Millard <markmi at dsl-only.net> wrote:
>
>> [Answering Israel's md5 question...]
>>
>> MD5 (/Volumes/MiscStuff/lubuntu-14.04-alternate-powerpc.iso) =
>> 4d9e511daf41dbc44f4506958f0e70f9
>>
>> vs. from http://cdimage.ubuntu.com/lubuntu/releases/14.04/release/MD5SUMS
>>
>> 4d9e511daf41dbc44f4506958f0e70f9 *lubuntu-14.04-alternate-powerpc.iso
>>
>> Extracting the relevant text on matching lines:
>>
>> 4d9e511daf41dbc44f4506958f0e70f9
>> 4d9e511daf41dbc44f4506958f0e70f9
>>
>> An exact match.
>>
>>
>>
>> So fsadm is missing from the command shell environment that one has
>> access to for rescue-powerpc use of lubuntu-14.04-alternate-powerpc.iso
>> burned to a CD. Without it various lvm activities can not be done from that
>> environment. But that environment appears to be intended to allow the
>> activities one can not do with a live file system. The configuration just
>> happened to miss covering the specific type of use.
>>
>>
>> On Thu Jul 3 11:23:13 UTC 2014 Isreal had written...
>>
>> Hi,
>> Did you do a md5sum of the image file you downloaded?
>> It is an odd thing we sometimes forget that can cause really wacky
>> problems in my experience.
>>
>> On 07/02/2014 10:22 PM, Mark Millard wrote:
>> >* But apt-get is also not available from that shell prompt and *
>> >
>> >* find / -name apt-get -print*
>> >
>> >* does not find anything.*
>> >
>> >* Similarly for sudo. (One is already "root" in this CD-boot context so*
>> >* I doubt sudo is ever required.)*
>> >
>> >* Notably*
>> >
>> >* find / -name 'lvr*' -print*
>> >
>> >* finds the relevant /sbin/lvr* lvm programs just fine. But fsadm is*
>> >* missing.*
>> >
>> >* ===*
>> >* Mark Millard*
>> > *markmi at dsl-only.net*
>> <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>* <mailto:**markmi
>> at dsl-only.net*
>> <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>*>*
>> >
>> >* On Jul 2, 2014, at 8:12 PM, Andre Rodovalho <**andre.rodovalho at
>> gmail.com* <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>
>> >* <mailto:**andre.rodovalho at gmail.com*
>> <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>*>> wrote:*
>> >
>> >* The command is*sudo apt-get install **lvm2**
>> >
>> >* Sorry about the first email...*
>> >
>> >
>> >* 2014-07-03 0:08 GMT-03:00 Andre Rodovalho <**andre.rodovalho at
>> gmail.com* <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>
>> >* <mailto:**andre.rodovalho at gmail.com*
>> <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>*>>:*
>> >
>> >*     do a *sudo apt-get install fsadm**
>> >
>> >
>> >*     2014-07-02 22:44 GMT-03:00 Mark Millard <**markmi at dsl-only.net*
>> <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>
>> >*     <mailto:**markmi at dsl-only.net*
>> <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>*>>:*
>> >
>> >*         Selecting to boot the CD for "rescue-powerpc", selecting to*
>> >*         not mount a root file system from the PowerMac, selecting to*
>> >*         get to the shell, and typing*
>> >
>> >*         find / -name fsadm -print*
>> >
>> >*         does not find a fsadm anywhere.*
>> >
>> >*         Naturally enough typing "fsadm -h" at the command prompt*
>> >*         results in the message*
>> >
>> >*         /bin/sh: fsadm: not found*
>> >
>> >
>> >*         ===*
>> >*         Mark Millard*
>> >*         markmi at dsl-only.net <http://dsl-only.net/> <*
>> *http://dsl-only.net/* <http://dsl-only.net/>*>*
>> >
>> >*         On Jul 2, 2014, at 6:08 PM, Phill Whiteside <**PhillW at
>> PhillW.net* <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>
>> >*         <mailto:**PhillW at PhillW.net*
>> <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>*>> wrote:*
>> >
>> >*         can you report the outcome of *
>> >
>> >*         fsadm -h*
>> >
>> >*         Regards,*
>> >
>> >*         Phill.*
>> >
>> >
>> >*         On 3 July 2014 01:52, Mark Millard <**markmi at dsl-only.net*
>> <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>
>> >*         <mailto:**markmi at dsl-only.net*
>> <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>*>> wrote:*
>> >
>> >*             I wanted to release about 45G Bytes of free space from a*
>> >*             root file system that is in lvm and so I tried to use a
>> CD*
>> >*             built from lubuntu-14.04-alternate-powerpc.iso to do*
>> >*             lvreduce --resizefs. Unfortunately the attempted use of*
>> >*             lvreduce reports that it could not find fsadm (and fsadm*
>> >*             is not in the live file system's /sbin/ with the lv*
>> tools).*
>> >
>> >*             Part of the purpose for "rescue-powerpc" (and the like)*
>> >*             should be to do operations that can not be done with a*
>> >*             live (root) filesystem.  Looks like this specific kind of*
>> >*             example of that has been missed.*
>> >
>> >*             I have not checked if other processor families have*
>> >*             similar issues for their "alternate" CDs or if the issue*
>> >*             is specific to lubuntu vs. existing in other ubuntu*
>> >*             variants. Nor have I checked other types of .iso's for*
>> >*             powerpc.*
>> >
>> >*             ===*
>> >*             Mark Millard*
>> >*             markmi at dsl-only.net <http://dsl-only.net/> <*
>> *http://dsl-only.net/* <http://dsl-only.net/>*>*
>> >
>> >
>> >
>> >*             --*
>> >*             Lubuntu-users mailing list*
>> >             *Lubuntu-users at lists.ubuntu.com*
>> <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>
>> >*             <mailto:**Lubuntu-users at lists.ubuntu.com*
>> <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>*>*
>> >*             Modify settings or unsubscribe at:*
>> >             *https://lists.ubuntu.com/mailman/listinfo/lubuntu-users*
>> <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>
>> >
>> >
>> >
>> >
>> >*         -- *
>> >         *https://wiki.ubuntu.com/phillw*
>> <https://wiki.ubuntu.com/phillw>
>> >
>> >
>> >*         --*
>> >*         Lubuntu-users mailing list*
>> >         *Lubuntu-users at lists.ubuntu.com*
>> <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>
>> >*         <mailto:**Lubuntu-users at lists.ubuntu.com*
>> <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>*>*
>> >*         Modify settings or unsubscribe at:*
>> >         *https://lists.ubuntu.com/mailman/listinfo/lubuntu-users*
>> <https://lists.ubuntu.com/mailman/listinfo/lubuntu-users>
>> >
>> >
>> >
>> >
>> >
>> >
>>
>>  ===
>> Mark Millard
>> markmi at dsl-only.net
>>
>>
>> --
>> Lubuntu-users mailing list
>> Lubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
>>
>>
>
>
> --
> https://wiki.ubuntu.com/phillw
>
>


-- 
https://wiki.ubuntu.com/phillw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20140708/7038c2d8/attachment-0001.html>


More information about the Lubuntu-users mailing list