LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   DamnSmallLinux (https://www.linuxquestions.org/questions/damnsmalllinux-42/)
-   -   How to install DSL directly from hard disk (https://www.linuxquestions.org/questions/damnsmalllinux-42/how-to-install-dsl-directly-from-hard-disk-753453/)

sumeet inani 09-07-2009 10:11 PM

How to install DSL directly from hard disk
 
I saw this article(http://www.linuxforu.com/teach-me/ti...t-from-an-iso/) at www.linuxforu.com which says that you can install distro from iso stored on hard drive.If anybody has done that can you please explain?

neonsignal 09-08-2009 04:00 AM

Which step are you getting stuck on?

What the article describes is how to get the linux boot loader (grub) to start the install from the iso file directly. This assumes that you already have the boot loader and a file system.

sumeet inani 09-08-2009 05:37 AM

To neonsignal,
have you installed in this way because iso of DSL has just one folder named boot.What should be path for kernel & RAMDISK as link does not give info about DSL only major distros.Please explain.

neonsignal 09-08-2009 10:20 AM

In the DSL iso, the kernel is /boot/isolinux/linux24, and the initrd image is /boot/isolinux/minirt24.gz. These are copied to the main file system (eg into /boot).

You will also need to copy the directory /KNOPPIX to the root directory of your hard disk so that the live filesystem can be mounted. This saves having separate partition for the iso.

linus72 09-08-2009 04:55 PM

hers some good stuuf too
http://docs.google.com/gview?a=v&q=c...en&gl=us&pli=1

http://damnsmalllinux.org/wiki/index...ormans_Install)

sumeet inani 09-09-2009 06:03 AM

TO ALL READERS
NO NEED FOR CD OR FLOPPY OR USB DRIVE JUST RUN ISO STORED ON HARD DISK.
I read it in 'linux for you' magazine(credit to them).


I am explaining how to run DSL from iso file stored on hard disk.
I had ubuntu 8.04 installed so I downloaded "ftp://ibiblio.org/pub/Linux/distributions/damnsmall/current/current.iso" & extracted its content to root partition in folder /DSL using file-roller.
Move folder KNOPPIX to /.
Then I appended following entry to /boot/grub/menu.lst
Code:

title                DSL
root                (hd1,0)
kernel                /DSL/boot/isolinux/linux24 toram root=/dev/hdb1 dma=on restore=hdb1 mydsl=hdb1 BOOT_IMG=KNOPPIX frugal
initrd                /DSL/boot/isolinux/minirt24.gz

NOTE:here hd1 means second hard disk drive & 0 means its first partition i.e the partition where all contents of current.iso have been extracted.
Now when you select this option in GRUB on restart you have DSL running.

If this helps you please thank me by pressing thumbs up button(in same way i have thanked all posts found useful).Thank you.


All times are GMT -5. The time now is 06:14 AM.