Re: F12 work around for out of space on /boot for preupgrade?

2009-11-18 Thread Tony Nelson
On 09-11-18 18:36:51, Tim wrote:
> On Wed, 2009-11-18 at 14:16 -0500, Paul W. Frields wrote:
> > There are ways to move LVM partitions around to make more space 
> > for, and then resize, an existing physical /boot partition... but 
> > none of them are pretty.  (Resizing other partitions dynamically?  
> > Now *that* is easy with LVM, something you can't say otherwise.)
> 
> What about, shrink your LVM partition, add a new large boot 
> partition, use that for the installation, then leave the new one as-
> is, or move the real boot stuff into your old boot partition, then 
> get rid of the new one?

That would work if /boot follows the LVM partition, but not if it is 
before.  But without parted / gparted support, one must still know to 
have free space on the LVM (not allocated to any LV), use pvresize, and 
then shrink the basic partition.  And this is the easy case, where the 
partition doesn't need to be moved.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F12 work around for out of space on /boot for preupgrade?

2009-11-18 Thread Tim
On Wed, 2009-11-18 at 14:16 -0500, Paul W. Frields wrote:
> There are ways to move LVM partitions around to make more space for,
> and then resize, an existing physical /boot partition... but none of
> them are pretty.  (Resizing other partitions dynamically?  Now *that*
> is easy with LVM, something you can't say otherwise.)

What about, shrink your LVM partition, add a new large boot partition,
use that for the installation, then leave the new one as-is, or move the
real boot stuff into your old boot partition, then get rid of the new
one?

-- 
[...@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F12 work around for out of space on /boot for preupgrade?

2009-11-18 Thread jarmo
On keskiviikko 18 marraskuu 2009 19:02:29 Steven Stern wrote:
> On 11/18/2009 10:52 AM, jarmo wrote:
> > On keskiviikko 18 marraskuu 2009 18:15:43 Linuxguy123 
wrote:
> >> I am wondering if running gparted from a live disk would allow
> >
> > you to
> >
> >> resize /boot without losing any data.
> >>
> >> Please keep us informed... I have exactly 187 MB free after
> >
> > cleaning up
> >
> >> and that is supposedly how much it needs.   How much free
> >
> > space do you
> >
> >> have ?  (df -h)
> >>
> >> Thanks
> >
> > I tried with sysresc-cd and gparted complained, that LVM is not 
yet
> > supported. So I need 8M more space.
> 
> I'm bailing out of preupgrade. I've deleted all the preupgrade files.
> I've got the DVD and am going to perform an upgrade from that.
> 
> Next time I do a clean install, I'm not going to use LVM.
> 

Anyway, tune2fs -r 0 /dev/sda1, in my case was enough
to get sysrem preupgraded. Went smoothly throug, except kernel
panic at start. fortunately I had compiled vanilla-kernel, what with 
got system running. Ques have to run grub-install to get fc12 kernel
running.

Jarmo

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F12 work around for out of space on /boot for preupgrade?

2009-11-18 Thread Paul W. Frields
On Wed, Nov 18, 2009 at 11:02:29AM -0600, Steven Stern wrote:
> On 11/18/2009 10:52 AM, jarmo wrote:
> > On keskiviikko 18 marraskuu 2009 18:15:43 Linuxguy123 wrote:
> > 
> >> I am wondering if running gparted from a live disk would allow 
> > you to
> >> resize /boot without losing any data.
> >>
> >> Please keep us informed... I have exactly 187 MB free after 
> > cleaning up
> >> and that is supposedly how much it needs.   How much free 
> > space do you
> >> have ?  (df -h)
> >>
> >> Thanks
> >>
> > I tried with sysresc-cd and gparted complained, that LVM is not yet
> > supported. So I need 8M more space.
> > 
> 
> I'm bailing out of preupgrade. I've deleted all the preupgrade files.
> I've got the DVD and am going to perform an upgrade from that.
> 
> Next time I do a clean install, I'm not going to use LVM.

The fact that LVM isn't supported in a certain environment using
gparted is probably not a good argument against using it globally.
LVM solves a lot more problems than it causes, take it from someone
who held out for a long while himself. :-)

There are ways to move LVM partitions around to make more space for,
and then resize, an existing physical /boot partition... but none of
them are pretty.  (Resizing other partitions dynamically?  Now *that*
is easy with LVM, something you can't say otherwise.)

-- 
Paul W. Frieldshttp://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F12 work around for out of space on /boot for preupgrade?

2009-11-18 Thread Tony Nelson
On 09-11-18 11:15:43, Linuxguy123 wrote:
 ...
> I am wondering if running gparted from a live disk would allow you to
> resize /boot without losing any data.

Not if he uses LVM, unless there have been big changes in the last day 
or two, in a program where the feature has been discussed and promised 
for many years.  If gparted had the fairly trivial ability to move and 
resize a partition it doesn't understand it would be useful.

I use a ping / pong disk setup, so I'll just nuke the LVM partition, 
resize /boot, make a new LVM, and copy my data over and make a dump as 
usual.

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F12 work around for out of space on /boot for preupgrade?

2009-11-18 Thread M A Young

On Wed, 18 Nov 2009, Steven Stern wrote:


There is an upgrade directory on /boot.  Can I move the upgrade
directory to another partition and link them?  That is, will this work?

  cd /boot
  mv upgrade /tmp/upgrade
  ln -s /tmp/upgrade upgrade


You can move some of the files in that directory, most notably the 
install.img file, but it has to be onto a non-LVM filesystem (LVM seems 
only to be started up after this file is loaded) and you have to edit 
/boot/grub/grub.conf to tell the system where to find it or tell it during 
the boot (it will ask you for the partition and path to the file within 
the partition if it doesn't find it).


Michael Young

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F12 work around for out of space on /boot for preupgrade?

2009-11-18 Thread Steven Stern
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/18/2009 10:52 AM, jarmo wrote:
> On keskiviikko 18 marraskuu 2009 18:15:43 Linuxguy123 wrote:
> 
>> I am wondering if running gparted from a live disk would allow 
> you to
>> resize /boot without losing any data.
>>
>> Please keep us informed... I have exactly 187 MB free after 
> cleaning up
>> and that is supposedly how much it needs.   How much free 
> space do you
>> have ?  (df -h)
>>
>> Thanks
>>
> I tried with sysresc-cd and gparted complained, that LVM is not yet
> supported. So I need 8M more space.
> 

I'm bailing out of preupgrade. I've deleted all the preupgrade files.
I've got the DVD and am going to perform an upgrade from that.

Next time I do a clean install, I'm not going to use LVM.


- -- 

  Steve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAksEKKUACgkQeERILVgMyvAOmQCfX3Oan1m4mGqcomFC2553m6+T
zXoAn2SN7sVJ/s0YygF6iKq8R3wm73x6
=UkPI
-END PGP SIGNATURE-

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F12 work around for out of space on /boot for preupgrade?

2009-11-18 Thread jarmo
On keskiviikko 18 marraskuu 2009 18:15:43 Linuxguy123 wrote:

> I am wondering if running gparted from a live disk would allow 
you to
> resize /boot without losing any data.
> 
> Please keep us informed... I have exactly 187 MB free after 
cleaning up
> and that is supposedly how much it needs.   How much free 
space do you
> have ?  (df -h)
> 
> Thanks
> 
I tried with sysresc-cd and gparted complained, that LVM is not yet
supported. So I need 8M more space.

Jarmo

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F12 work around for out of space on /boot for preupgrade?

2009-11-18 Thread Steven Stern
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/18/2009 10:07 AM, Rahul Sundaram wrote:
> On 11/18/2009 09:32 PM, Steven Stern wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> I deleted the old kernels and freed up space in /boot. Now, when I
>> reboot after preupgrade, it tells me I'm still 1.1 MiB short.
>>
>> I don't see anything else I can delete and I suspect resizing /boot
>> would be a real pain.
>>
>> There is an upgrade directory on /boot.  Can I move the upgrade
>> directory to another partition and link them?  That is, will this work?
>>
>>cd /boot
>>mv upgrade /tmp/upgrade
>>ln -s /tmp/upgrade upgrade
> 
> Try
> 
> http://fedoraproject.org/wiki/PreUpgrade#Not_enough_space_in_.2Fboot
> 
> Rahul
> 

Thanks. I'll give it a shot.  I'm doing another full backup of the
system before trying anything. 

- -- 

  Steve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAksEJfoACgkQeERILVgMyvBONACfQl4lbEZH33L/Tmpggeb6RMu3
zzIAnAv3zBnuoeGaWp6KPXMwKQcuh7vD
=Z2oo
-END PGP SIGNATURE-

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F12 work around for out of space on /boot for preupgrade?

2009-11-18 Thread Linuxguy123
On Wed, 2009-11-18 at 10:02 -0600, Steven Stern wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I deleted the old kernels and freed up space in /boot. Now, when I
> reboot after preupgrade, it tells me I'm still 1.1 MiB short.
> 
> I don't see anything else I can delete and I suspect resizing /boot
> would be a real pain.
> 
> There is an upgrade directory on /boot.  Can I move the upgrade
> directory to another partition and link them?  That is, will this work?
> 
>cd /boot
>mv upgrade /tmp/upgrade
>ln -s /tmp/upgrade upgrade
> 

I am wondering if running gparted from a live disk would allow you to
resize /boot without losing any data.

Please keep us informed... I have exactly 187 MB free after cleaning up
and that is supposedly how much it needs.   How much free space do you
have ?  (df -h)

Thanks 

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F12 work around for out of space on /boot for preupgrade?

2009-11-18 Thread Rahul Sundaram
On 11/18/2009 09:32 PM, Steven Stern wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I deleted the old kernels and freed up space in /boot. Now, when I
> reboot after preupgrade, it tells me I'm still 1.1 MiB short.
> 
> I don't see anything else I can delete and I suspect resizing /boot
> would be a real pain.
> 
> There is an upgrade directory on /boot.  Can I move the upgrade
> directory to another partition and link them?  That is, will this work?
> 
>cd /boot
>mv upgrade /tmp/upgrade
>ln -s /tmp/upgrade upgrade

Try

http://fedoraproject.org/wiki/PreUpgrade#Not_enough_space_in_.2Fboot

Rahul

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F12 work around for out of space on /boot for preupgrade?

2009-11-18 Thread Michael Cronenworth
Steven Stern wrote:
> 
> There is an upgrade directory on /boot.  Can I move the upgrade
> directory to another partition and link them?  That is, will this work?
> 
>cd /boot
>mv upgrade /tmp/upgrade
>ln -s /tmp/upgrade upgrade
> 

That won't work. /boot is a partition. When the installer starts it will
mount /boot as /mnt/sysimage/boot. Your link will not be valid.

What I did was place the /boot/upgrade/install.img on a thumb drive and
deleted it from /boot. Anaconda then asked for where the install.img was
and I pointed it to my flash drive. F12 upgraded without a hitch.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


F12 work around for out of space on /boot for preupgrade?

2009-11-18 Thread Steven Stern
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I deleted the old kernels and freed up space in /boot. Now, when I
reboot after preupgrade, it tells me I'm still 1.1 MiB short.

I don't see anything else I can delete and I suspect resizing /boot
would be a real pain.

There is an upgrade directory on /boot.  Can I move the upgrade
directory to another partition and link them?  That is, will this work?

   cd /boot
   mv upgrade /tmp/upgrade
   ln -s /tmp/upgrade upgrade


- -- 

  Steve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAksEGoEACgkQeERILVgMyvAffACdGFUAV+epnXkoT/AXPVd2LS4A
jX4An0afEudjLlJvDUlng1x25i6m1e/M
=7jWd
-END PGP SIGNATURE-

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines