LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-30-2015, 10:31 AM   #1
Mulligun
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Rep: Reputation: 0
Question 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)?
 
Old 12-30-2015, 11:03 AM   #2
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 8,817

Rep: Reputation: 6916Reputation: 6916Reputation: 6916Reputation: 6916Reputation: 6916Reputation: 6916Reputation: 6916Reputation: 6916Reputation: 6916Reputation: 6916Reputation: 6916
You might want to ask a moderator to move your post to the Slackware Forum? Just a thought.
Happy New Year!
 
Old 12-30-2015, 02:25 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware, Ubuntu
Posts: 10,211

Rep: Reputation: 2410Reputation: 2410Reputation: 2410Reputation: 2410Reputation: 2410Reputation: 2410Reputation: 2410Reputation: 2410Reputation: 2410Reputation: 2410Reputation: 2410
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.
 
Old 12-30-2015, 02:56 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,102

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
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.
 
Old 12-30-2015, 10:08 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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.-
 
Old 12-31-2015, 04:34 AM   #6
Mulligun
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Question

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?
 
Old 01-03-2016, 05:57 AM   #7
Mulligun
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Question

Please can anyone answer my question?
 
Old 01-03-2016, 10:12 AM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware, Ubuntu
Posts: 10,211

Rep: Reputation: 2410Reputation: 2410Reputation: 2410Reputation: 2410Reputation: 2410Reputation: 2410Reputation: 2410Reputation: 2410Reputation: 2410Reputation: 2410Reputation: 2410
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.
 
  


Reply

Tags
installation, lilo, linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware install on GPT HDD san2ban Slackware 3 07-22-2013 01:57 PM
Slackware Install from HDD kahnakha Linux - Newbie 4 02-16-2007 07:31 PM
how to install slackware from hdd with a floppy salahuddin_66 Slackware 7 08-09-2004 12:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration