LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Install Slackware from HDD (https://www.linuxquestions.org/questions/linux-newbie-8/install-slackware-from-hdd-4175562667/)

Mulligun 12-30-2015 09:31 AM

Install Slackware from HDD
 
The only system installed on my machine is Windows 7. I've Slackware 12.2 install DVD but want to install Slack 14 which img i've downloaded & have on my Win partition. For some reason i don't wanna to burn Slack 14 img on DVD.
My question is it possible to use Slack 12.2 install DVD to boot the system from it and then follow the steps described at:http://docs.slackware.com/howtos:sla...tall_from_hdd?
In other worlds - have i install slack 12.2 on hdd prior to install Slack 14 using the method described (Boot the Installation Environment straight from HDD)?

cwizardone 12-30-2015 10:03 AM

You might want to ask a moderator to move your post to the Slackware Forum? Just a thought.
Happy New Year!
:)

yancek 12-30-2015 01:25 PM

I've done this with Grub. Your problem is the only system installed is windows so you would need to use it's bootloader. Good luck.
The problem is that if you boot the Slackware 12.2 DVD and go through the process of creating the needed directories, loop mounting and copying the directories/files to the proper place and then creating an entry in the boot menu, you will need to reboot to get to it. Since the Live DVD is read only, all the changes you made will be lost on reboot. That's the nature of a Live DVD.

You could go through the above process and copy everything to directories on the drive, make the change to the boot menu and then rebuild the entire iso with mkisofs or genisoimage and hope you got it right and then burn another DVD. Not worth the trouble.

With any of the Linux bootloaders, it would be a pretty simple process to boot the iso directly (Grub2) or the extracted iso copied to the drive with Lilo or Grub Legacy.

colorpurple21859 12-30-2015 01:56 PM

Yes it can be done with the use of easybcd neogrub and 7 zip.
Install 7-zip and neogrub to windows 7.
Create C:\slack directory.
Extract bzImage and initrd.img from iso using 7-zip
Move or copy bzImage, initrd.img, and slackware iso to C:\slack
Use easybcd to install neogrub as a boot windows boot option
Edit C:\nst\menu.lst with following lines
Code:

title slackiso
root (hd0,1)
kernel /slack/bzImage
initrd /slack/initrd.img

at the windows boot menu select neogrub and you should get a menu to boot slackiso.
I can't remember if there is an option to select an iso file at the source section of setup.
If not you can create an a new directory and mount the iso there before running setup, then when asked select premounted directory.

Ztcoracat 12-30-2015 09:08 PM

Quote:

For some reason i don't wanna to burn Slack 14 img on DVD.
So don't.
Instead use Unetbootin to put Slackware on a usb stick.
Change your boot priority order to usb and install Slack from the usb stick.-:)

Mulligun 12-31-2015 03:34 AM

Thanks all for help:-)

I'm now wondering would it run if I boot using Slack 12.2 Live CD, mount kernel & initrd files from Win partition , say in /mnt/slack_install and then setup lilo.conf
as:
image = /mnt/slack_install/bzImage
initrd = /mnt/slack_install/bzImage

If i'm right that in this case lilo mapper (/sbin/lilo) would write bzImage & bzImage files somewhere on my HDD, saves file locations (in the CHS format) in .map file which location would be hardcoded in first-stage bootstrap code in MBR?

Mulligun 01-03-2016 04:57 AM

Please can anyone answer my question?

yancek 01-03-2016 09:12 AM

I don't see how that would work. You boot the Slackware 12.2 DVD, you mount the iso in directories on your windows partition then modify the lilo.conf file. Slackware install media use Syslinux to boot (link below) so where does lilo come in.

http://docs.slackware.com/howtos:sla...stall_from_hdd

You need to reboot to access Lilo and when you reboot, anything you mounted from the Slackware DVD is gone because it is a read-only file system and everthing is lost on reboot. Loop mounting and then copying the directories/files from the iso to a partition on windows might work but I think the best bet for you is the one suggested by colorpurple above since all you have to work with is the windows bootloader.


All times are GMT -5. The time now is 10:42 AM.