LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-29-2011, 07:55 PM   #1
the_gripmaster
Member
 
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 364

Rep: Reputation: 38
Partitioning using preseed


I am trying to preceed my partitioning. I am not sure if it is possible to set up my partition setup using preceed. I am using Ubuntu Server 11.10 .

My setup is like this:

Code:
/dev/sda
|----/dev/sda1             ext4    /boot
|----/dev/sda2    LVM                            
                  lvroot   ext4    /
                  lvusr    ext4    /usr
                  lvhome   ext4    /home

/dev/sdb
|----/dev/sdb1             swap    swap

Is it possible to preceed this setup?

If so, a similar example in preceed code would be really appreciated.

Last edited by the_gripmaster; 11-29-2011 at 07:58 PM.
 
Old 11-29-2011, 10:42 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,133

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
I haven't tried but a quick google found this.
A couple of pages along, example-preseed.txt is referenced. Have a look at the bit headed "Partitioning".
 
Old 11-29-2011, 10:49 PM   #3
the_gripmaster
Member
 
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 364

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by syg00 View Post
I haven't tried but a quick google found this.
A couple of pages along, example-preseed.txt is referenced. Have a look at the bit headed "Partitioning".
Thanks but I had already looked at this page. The examples I found (managed to find with my Google foo) on the Internet doesn't have the setup I want to create: a /dev/sda1 as boot and /dev/sdb2 as a LVM partition.
 
Old 12-05-2011, 07:38 AM   #4
the_gripmaster
Member
 
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 364

Original Poster
Rep: Reputation: 38
I have decided to actually create the swap partition in the preceed_late section. I would like to know what partition utilities are available during the installation process? I have tried sfdisk, it doesn't seem to be available during the installation.
 
  


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
Ubuntu Installation - preseed / partman not partitioning disk gr8rcake Ubuntu 10 12-07-2011 01:21 AM
How to use late_command in preseed file? eliote Programming 7 03-17-2011 07:17 AM
Linux partitioning using 'preseed.cfg' file eliote Programming 8 12-22-2010 01:55 AM
Ubuntu Preseed not found Curtor Ubuntu 1 09-12-2008 07:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:44 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