DogEatDog
Group: Members
Posts: 30
Joined: Sep. 2007 |
|
Posted: Sep. 15 2007,22:52 |
|
2.2 Install DSL on HD
The Website says: ##Quote A "frugal" type install mirrors the operation of the LiveCD. It installs the compressed filesystem and associated boot files onto a pre-prepared partition of your choice on your hard drive.
The frugal install offers you a choice of two bootloaders, lilo or grub.
This method offers many benefits to you over the typical linux hard drive install.
Use of the extension repository for adding applications, which are designed to run in the frugal/liveCD environment. Much easier upgrade path, without needing to reinstall from scratch. Use of the 'toram' option, while still operating from a hard drive type device. This offers you the maximum performance in DSL, by running your entire OS in ramspace, but getting the load performance and speed the hard drive offers.(requires 128MB ram) Most all other boottime options are available to you, like persistant home and opt directories, autoloading of applications, setting fresh passwords, encrypting/decrypting your backups, unique hostname, and autorestore/backup of your personal files and settings at boottime and shutdown. You can easily revert back to a pristine install condition, and extend this feature to uninstall any extension. Steps needed:
Create a 50MB Linux partition with cfdisk (ex. hda2 ) Right-click on the desktop, navigate to Apps>>Tools>>Frugal Install, and select your choice of Frugal-Grub or Frugal-Lilo. This will make a ext2 file system and copies the necessary portions of the cd to it. You can also bootup the DSL CD with the bootcode option " install " , and you will be presented with all the install options in a menu format. ##End Quote
Just for those of you who are like me who don't know what a frugal install is let alone a grub or lilo install then read this bit:
Frugal: The ability to boot up your computer with a method that isn't the liveCD. Lilo vs. Grub install: Not really sure about this one - the documentation isn't immediately obvious. Apparently Grub is a bit more future proof in that you don't need to upgrade it if you change operating systems and you can use network booting too. I will be using Grub therefore. I've no idea why anyone would want to use Lilo.
In this case we will set up the following drives:
hda1: This drive holds your DSL image (size: 60Mb) hda2: This holds your persistent changes as and when you make changes that you wish to be remembered - (size: the rest)
Q: Should I be using a swap drive here (Bearing in mind I will move to a toram option at the end of the project)?
In my case I have a 256MB flash Rom for a hard disk which is very quick for I/O. I am not sure if I need a swap drive - could someone help me with this??
1. Boot from CD 2. At the cheatcode option type: dsl 2 3. At the command prompt type: cfdisk 4. Create the partitions as you see fit. I have sized them as above (60MB:the rest). I have not made them bootable at this stage. This is pretty straight forward. If you are unsure use the hslp. Once done, remember to write your changes and exit. 5. Format the partitions: type: mke2fs /dev/hda1 and type: mke2fs /dev/hda2 (You don't have to do this bit but it is to ensure that your drives are picked up) 6. Shutdown the machine to get the partitions changes to happen. Type: shutdown -r now 7. Reboot into dsl 2 8. type at prompt: /usr/sbin/frugal_grub.sh 9. Follow these commands: Harddisk: hda1 Install from: [L] Live CD Format?: yes & yes 10 Installed! Well done, reboot and take the CD out this time. 11. The grub loader now shows up and you can select which monitor resololution you want to go for at this time.
Notes If you go into emel-fm (a file manager that takes a bit of getting used to is you are familiar with Explorer) you will see that in the root directory there are a mass of folders. Here is a list of them and a description of each:
Could someone help me here by pointing me in the direction of a good article / post about what the heck this filesystem is meant to be doing. It is so alien to me having spent the last 20 years working with PCs!
|