LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-03-2005, 09:43 AM   #1
Mar80
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
Debian Installer and Partitioning


HI all!

I would install a very minimal distro and I choose Debian Netinst.

I have a trouble: I need to mount / Read-Only after installation of the System: I thought to put /var and /tmp in a ram disk but /var contains at least 10Mb...So I had thought to put /tmp and /var in two different partition, in this way I'm able to mount / Read-Only modifing the fstab file

I would make the partitioning very automatic (simply pushing a key, with the help of a shell's script)

I thought at 2 solutions:

1) to modify the installer so during the installation it does a partitioning by, for example, a configuration file, but HOW can I do? Can the installer read a configuration file during the partitioning??

2) after the installation and after my System modifications (kernel,packages..) I could launch a shell's script that resizes partion and create new partitions for /tmp and /var, all this with a automatic script, but How can I do? Is it possible?

3) other solutions?!

Thank u!
byeee

P.S: sorry for my english..
 
Old 11-04-2005, 08:14 PM   #2
nonzero
Member
 
Registered: Feb 2005
Distribution: Debian FC4 LFS Slackware
Posts: 174

Rep: Reputation: 31
You can do whatever you want. A little more explanation as to why you want to perform all these contortions and cause yourself so much grief would be helpful. It sounds like you want some sort of chroot jail, but the automatic resizing of partitions is a sticky one. Or maybe you need to do a little more reading about how to make an initrd kernel.

http://kegel.com/crosstool/current/d...gin-howto.html
http://www.andamooka.org/reader.pl?p...ptchap29sec296

http://www.debian-administration.org/articles/202

The article above is on how to build an initrd kernel the Debian way. You would need a workstation with the right tools and some more study to build a distribution if that is what you want. You then need some knowledge on hacking the Debian Installer.

http://people.debian.org/~osamu/hackdi/

Seems like reinventing the wheel to me but.........

nz
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat Installer, vs Debian Installer rmckayfleming Linux - General 6 10-19-2005 01:23 PM
Debian 3.1 Installer cjnodell Debian 5 06-09-2005 01:00 PM
Partitioning with Fedora Installer/Partition Magic Aristotle Fedora - Installation 5 08-17-2004 12:26 PM
sarge installer partitioning asb Debian 2 06-11-2004 02:38 PM
Does installer take care of HD partitioning on PPC (9.1)? jkibbe Mandriva 0 01-31-2004 02:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:25 PM.

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