Project

General

Profile

Bug #1119

Tweak to default RHEL partition table

Added by Ashley Penney about 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

The existing one is non-lvm which probably sets people up for trouble in the future. I changed mine to:

zerombr yes
clearpart --all --initlabel
part /boot --fstype ext3 --size=200 --asprimary
part swap --recommended
part pv.01 --size=1 --grow

volgroup VolGroup01 pv.01
logvol / --fstype ext4 --name=root --vgname=VolGroup01 --size=1 --grow

Maybe we could do something similar by default in foreman. They should get a 200M /boot, self-calculated swap and a single giant LVM logvol of /. It's enough to get them started without being too clever!

History

#1 Updated by Ashley Penney about 8 years ago

Make that:

zerombr
clearpart --all --initlabel
part /boot --fstype ext3 --size=200 --asprimary
part swap --recommended
part pv.01 --size=1 --grow

volgroup VolGroup01 pv.01
logvol / --fstype ext4 --name=root --vgname=VolGroup01 --size=1 --grow

I just found out that arguments to zerombr are deprecated in RHEL6.

#2 Updated by Ohad Levy almost 8 years ago

care to update it as a patch?

thanks

#3 Updated by Ohad Levy over 7 years ago

bump

#4 Updated by Ohad Levy about 7 years ago

bump bump?

#5 Updated by Benjamin Papillon about 6 years ago

  • Status changed from New to Closed
  • Target version set to 1.2.0

The default RedHat partition table has been changed for 1.2.
Feel free to reopen the ticket if it does not match your needs.

Also available in: Atom PDF