On Fri, Nov 02, 2001 at 01:49:11PM -0800, [EMAIL PROTECTED] wrote: | Yall, | | ----- Original Message ----- | From: "dman" <[EMAIL PROTECTED]> | To: <debian-user@lists.debian.org> | Sent: Friday, November 02, 2001 4:24 PM | Subject: Re: [debian-user] install with 3 partitions | | | > On Fri, Nov 02, 2001 at 01:13:24PM -0800, [EMAIL PROTECTED] wrote: | > | I guess my question degenerates to, | > | "Is there an 'out of box' way to install debian potato where you isolate | > | /, /boot, /etc, /bin, /sbin, /lib, /dev | > | on a partition without partitioning up every thing else? | > | > Yes, but you have to use symlinks as someone else suggested. | | I am new to this. I have a 1.2 GB on a blank HD. I would like to make | this happen through the install program. You or anyone able to provide | steps? How do I make the installer let me set up the symlinks, etc. | I am guessing the 'cp' is not appropriate.
You could do this during installation, but it will take a couple of acrobatics. 1) make 3 partitions, one for swap, one for / and one for /storage 2) initialize (format) them (check what the next steps are, I don't remember if they do anything to the partitions or not) 3) switch to vc2 (Alt-Ctrl-F2) 4) mount /storage, if it isn't already 5) mkdir /storage/usr /storage/home /storage/var 6) mount your to-be-/ partiton (the installer has it's own / so something like : mkdir mydisk mount -t ext2 /dev/hd<whatever> /mydisk 7) cd /mydisk && ln -s /storage/* 8) go back to the installer (Alt-Ctrl-F1) 9) finish installation | > | Possibly putting /tmp in its own partition as well, but then you might as | > | > Sure, but if you use kernel 2.4 and have memory available you could | > use a ramdisk for /tmp. Then you wouldn't need any disk partition at | > all. | | I have no idea what a ramdisk. It is a "disk" that isn't a disk but just a piece of memory. When you run the installer it loads a ramdisk so that linux can run before you have set up your hard disk. | I guess you are suggesting that /tmp can be keep all in memory | (swap). Yes, all in memory. I don't know about swap; it's up to the kernel's VM system anyways (virtual memory). | I do not follow the 2.4 ref either, is woody -- | assuming 2.4 Linux kernel is the one for the Linux dist | -- ready for showtime? | | *Lloyd climbs into flame retardent suit* From | the Linux Kernel | interviews I have been reading the ship is not sailing so straight lately. | Do not get me wrong, it sounds like it is a result of a lot of awesome development, | suggesting a development kernel ;-) | I want a stable kernel that I can build a secure system around. | *Lloyd climbs climbs out of fire suit into leasure suit* I use 2.4. I've got my desktop machine. It had 2.4.8 on it, now it has 2.4.10. I've got a laptop at work that had 2.4.8 but I just put 2.4.13 on it a couple hours ago. I haven't had any problems that weren't PEBKAC (Problem Exists Between Keyboard And Chair). | > | well isolation /proc for the same reasons too, no? | > | > No, /proc doesn't exist. It is a figment of your imagination :-). | > More precisely, /proc is a virtual filesystem. When you try and | > access it the kernel generates the data, on-demand. | | Ah, /proc, that makes sense. Isolating /var makes sense though ;-) :-). -D