LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   debian-installer:how to point to the debian iso mounted instead of probing for CDROM? (https://www.linuxquestions.org/questions/debian-26/debian-installer-how-to-point-to-the-debian-iso-mounted-instead-of-probing-for-cdrom-806739/)

deepclutch 05-09-2010 02:23 AM

debian-installer:how to point to the debian iso mounted instead of probing for CDROM?
 
I am trying to install Ubuntu alternate CD(Which uses CLI Debian installer).I've a Ubuntu 9.10 with GRUB2on hdd already and I added menu entries to grub2 pointing to Ubuntu_alternate iso(amd64 system) and it booted fine and shows up Debian installer.
But ,installer searches for CD Drive and fails Obviously.

I want to know if I mount iso ,Can I point installer to get the packages from there instead of CD Drive and completes the installation?is there any parameters available to point debian-installer to seek the ubuntu iso loop mounted?

I earlier Tried a Ubuntu-desktop system booted from ISO ,and it's grpahical installer "Ubiquity" fails to do the partition as it asks to umount all partitions including the mount partition of ISO.The issue with booting from Ubuntu ISO is ,It can install fine on another drive's partition.but ,in case of installing to same harddisk,it asks to umount all partitions and all goes kaput.

So,I want to know how can debian-installer point towards the ubuntu iso mounted and continues the installation?
Also wants to know ,if it is possible to copy the iso into ramdisk and boot from there?if I use "toram" parameter in Grub2 ,it gets mounted in tmpfs?is this a RAMDISK?


Thanks to ALL

craigevil 05-09-2010 01:44 PM

Install Ubuntu without CDROM Drive*|*Ubuntu Geek - http://www.ubuntugeek.com/install-ub...rom-drive.html

HOWTO: Install Ubuntu Linux without burning a cd [Archive] - Ubuntu Forums - http://ubuntuforums.org/archive/index.php/t-28948.html

deepclutch 05-10-2010 06:41 PM

thanks.I installed using alternate cd(debian-installer) already.




The Idea of copying to ram was not resolved.But ,Debian Installer in alternate cd by default copies to RAM(/dev/tmpfs).I will experiment with live cd iso copied to ramdisk at a later time.
--
With Debian Installer(Which is text/ncurses based) ,it asks to Mount Ubuntu CD when booted from hard disk iso.What I did was ,to symlink(symbolic Linking) Lucid Alternate cd ISO to /dev/sr0(Which is the device file for dvd drive) .Then If I ask debian-installer to retry to mount cd ,it got mounted!

Code:

ln -sf /yourubuntuisodirectory/ubuntu.iso /dev/sr0
After that the installation was smooth.ofcourse ,I had already formatted ext4 partition for Lucid install.but, partman partitioner is available in the installer.

^^^^of course!it is a crude method.moreover udev can overwrite the changes(umounting iso).But ,for the sake of iso install on *same* partition ,it worked.
Moreover ,inside debian-installer ,it can mount lucid desktop cd also(it searches).But ,I never tried.

I am interested in to getting know how to copy iso to RAM DISK.I hope someone will answer this.

Regards,
DC


All times are GMT -5. The time now is 05:22 PM.