LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 11-05-2021, 08:21 AM   #1
elisatems
LQ Newbie
 
Registered: Oct 2021
Location: Central Vermont, USA
Distribution: Scientific Linux
Posts: 21

Rep: Reputation: Disabled
Anaconda: expand boot partition fails!


I am trying to install Fedora 34 workstation. Because my partition sizes were chosen for an earlier Linux (SL 6.3), my /boot partition is only 500 MB. Anaconda, I assume rightly, warns that this is less than the minimum recommended size of 512 MB, and even 1 GB is recommended. Of the two ways I've tried to go about resizing the partition, one I reject as unsafe, and the other fails with an error.

1. Automatic partitioning is something I won't do unless there is some way that I can see the partition layout and what Anaconda is about to do with my second disk's filesystem, which must be preserved and needs to be mounted at /usr2. There doesn't seem to be any way to display this information.

2. Custom partitioning fails with "new size same as old size". I've tried shrinking the partition that contains the root filesystem: still fails. I suspect the problem might be in the current partition layout:

sda1: Reserved by the system (105 MB, I assume the MBR is here).
sda2: Windows 10 (144 GB).
sda3: /boot (524 MB)
sda4: Extended Partition, contains...
sda5: / (287 GB)
sda6: swap (69 GB)

The third possibility is to delete all partitions past sda2, but I hesitate to do this without knowing for sure when that would take effect (an "Are you sure?" warning comes up immediately). If it happens immediately and my desired partition layout turns out to be impossible to create for some reason, then my system is toast.

If it only happens after clicking "Begin installation", then I'll try it. Is this correct? Otherwise, what advice can the experts here give me?

Liz
 
Old 11-05-2021, 09:13 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,708

Rep: Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898
Since your root filesystem is in the extended partition you need to:

1. shrink the root partition which is already accomplished.
2. move swap to the left inside the extended partition.
3. shrink the extended partition.
4. move the extended partition to the right to allow unallocated space adjacent to sda3.

However, since you are completly replacing SL 6 you could just delete all of its filesystems and just manually partition creating partitions/sizes when installing Fedora. Make sure you backup all important data.

FYI with a legacy BIOS the MBR is the MBR, The reserved partition was created by Windows.

Last edited by michaelk; 11-05-2021 at 10:00 AM.
 
Old 11-05-2021, 10:06 AM   #3
elisatems
LQ Newbie
 
Registered: Oct 2021
Location: Central Vermont, USA
Distribution: Scientific Linux
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Since your root filesystem is in the extended partition you need to:

1. shrink the root partition which is already accomplished.
2. move swap to the left inside the extended partition.
3. shrink the extended partition.
4. move the extended partition to the right to allow unallocated space adjacent to sda3.

However, since you are completly replacing SL 6 you could just delete all of its filesystems and just manually partition creating similar partitions/sizes when installing Fedora. Make sure you backup all important data.

FYI with a legacy BIOS the MBR is the MBR, The reserved partition was created by Windows.
Thank you! I think it would be easiest just to delete partition 3 and the extended partition, assuming that is possible. So just to be clear: can I set up the new partition layout as a "dry run", to make sure the desired layout is allowed and there are no "gotchas"? IOW, if I go through the motions of deleting partitions and repartitioning in Anaconda, is it true that nothing is touched until "Begin installation" is clicked?

Yes, I have backups for everything critical (which is the stuff on the second disk, sdb)... but it would still be a major pain to restore everything from backup. The error I made when trying to create a bootable flash drive was to dd to /dev/sdb instead of /dev/sdc. After restoring from the backup (which is on an external Passport USB drive physically connected to a Mac), I had to manually change permissions on many files (even ownership, since UIDs on SL 6 were not the same as under SL 7).

For clarity: I'm replacing SL 7.9 now, not SL 6.
 
Old 11-05-2021, 10:47 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,708

Rep: Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898
Yes, nothing is touched until you begin installation.

With a legacy MBR /dev/sda5 and /dev/sda6 are contained within the extended partition. Deleting /dev/sda3 would be the fastest way to free up space.

This is a fresh install which will overwrite everything so you will need to reinstall apps etc. Scientific linux 7 which is based on RHEL 7 was released in 2014 which would be equivalent to something like Fedora 20. There is a Fedora scientific version but have never looked at it.
 
1 members found this post helpful.
Old 11-05-2021, 12:11 PM   #5
elisatems
LQ Newbie
 
Registered: Oct 2021
Location: Central Vermont, USA
Distribution: Scientific Linux
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Yes, nothing is touched until you begin installation.

With a legacy MBR /dev/sda5 and /dev/sda6 are contained within the extended partition. Deleting /dev/sda3 would be the fastest way to free up space.

This is a fresh install which will overwrite everything so you will need to reinstall apps etc. Scientific linux 7 which is based on RHEL 7 was released in 2014 which would be equivalent to something like Fedora 20. There is a Fedora scientific version but have never looked at it.
Thanks. I tried out doing a dry run in Anaconda, deleting /dev/sda[3-6] and reallocating the free space using a balance that's more appropriate for Fedora 34. It seems that it will work. Anaconda definitely doesn't like that I'm preserving /dev/sdb1, but it doesn't seem to be a real issue. I'll pull the trigger this weekend.

Last edited by elisatems; 11-05-2021 at 12:16 PM.
 
Old 11-05-2021, 12:48 PM   #6
elisatems
LQ Newbie
 
Registered: Oct 2021
Location: Central Vermont, USA
Distribution: Scientific Linux
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Yes, nothing is touched until you begin installation.

With a legacy MBR /dev/sda5 and /dev/sda6 are contained within the extended partition. Deleting /dev/sda3 would be the fastest way to free up space.

This is a fresh install which will overwrite everything so you will need to reinstall apps etc. Scientific linux 7 which is based on RHEL 7 was released in 2014 which would be equivalent to something like Fedora 20. There is a Fedora scientific version but have never looked at it.
BTW, Re: Fedora Scientific... I downloaded the latest release about 2 weeks ago, but decided against it. It is attractive in some ways but I am used to Gnome, not KDE, and I'm not sure how painful it would be to install Gnome post-installation and make it my default desktop env. Thinking it might be easier to start with Fedora Workstation and add packages from Scientific as needed.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 20 - Expand /home partition and shrink Win8 partition lolzies Linux - Hardware 1 07-12-2014 10:40 AM
fedora 9 instln fails as anaconda execution stops nkd Linux - Hardware 0 12-20-2008 11:36 PM
X Window system fails when starting anaconda installer netke Fedora - Installation 9 05-13-2006 09:05 AM
anaconda build from src rpm fails LampMan Fedora 3 03-28-2005 02:55 AM
Help with 8.0 install - Anaconda fails jchim32 Linux - General 9 05-26-2003 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 05:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration