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 05-31-2012, 05:09 AM   #1
r_s
Member
 
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101

Rep: Reputation: 21
installing slackware from hd


I've a slackware 13 iso file and would like to install it. I don't have a usb/dvd right now so I am using my hd. I already have two OS in my system.
After mounting the iso, and copying the kernel image (bzImage) and the initial RAM disk(initrd.img) to the /boot directory and adding the entry in grub.cfg.
When I reboot my system it does not load the setup for installing slackware, but hangs with a black screen

Here is the grub entry

menuentry "slackware" {
insmod ext2
set root='(hd0,7)'
linux /boot/bzImage
initrd /boot/initrd.img
}
 
Old 05-31-2012, 11:11 AM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,727

Rep: Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674
try adding nomodeset to the linux line
 
1 members found this post helpful.
Old 05-31-2012, 01:00 PM   #3
r_s
Member
 
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101

Original Poster
Rep: Reputation: 21
Thanks for the reply, but didn't work.
 
Old 05-31-2012, 01:33 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,727

Rep: Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674
Try downloading both files from a slackware mirror and see if they work. The bzImage will be in the kernels folder and the initrd.img will be in the isolinux folder. Another thought, you are using the bzImage out of the hugesmp.s folder.
 
Old 06-01-2012, 03:56 AM   #5
r_s
Member
 
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101

Original Poster
Rep: Reputation: 21
No success. Am I doing anything incorrectly?
I'm so frustrated that I'd rather use a usb stick to burn the iso.
 
Old 06-01-2012, 10:32 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,183

Rep: Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661
Which operating system with Grub2 are you using to try to boot the Slackware install?
Where is the iso of Slackware?
What is on (hd0,7)?
Where are the kernel and initrd images for Slackware, which partition/system?
 
Old 06-01-2012, 11:20 AM   #7
r_s
Member
 
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101

Original Poster
Rep: Reputation: 21
I'm using ubuntu 10.04 to boot the slackware install. The iso of slackware is in some other partion which is ext4. (hd0,7) is the ubuntu partition, and within the boot directory (in this partition) I have the kernel and RAM disk images for slackware.
 
Old 06-01-2012, 04:09 PM   #8
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,727

Rep: Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674
Do you get any messages on the screen before the screen goes black? What kind of video card does the computer have?
 
Old 06-02-2012, 06:16 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,183

Rep: Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661
Quote:
The iso of slackware is in some other partion which is ext4. (hd0,7) is the ubuntu partition, and within the boot directory (in this partition)
And how is the Slackware installer supposed to know where the rest of Slackware is?
Grub2 is capable of booting iso files on a hard drive but that doesn't mean it is capable of booting ANY iso file, You can install Grub2 on a flash drive, CD/DVD and boot iso images from it but there are limits. I'm not sure what the limitations are but the only distributions I have had any luck with are Debian and Ubuntu derivatives.

I think you might find it easier to loop mount your Slackware iso in your Ubuntu / or /boot directory. Opens the isolinux directory and take a look at the isolinu.cfg file or whichever file has the menu entries to boot the CD. Modify that entry to comply with Grub2 menuentries and give that a try.
 
Old 06-03-2012, 08:46 AM   #10
r_s
Member
 
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101

Original Poster
Rep: Reputation: 21
update: I now use my fedora partition to boot the slackware setup and it does so .
During the setup it asks for the source media which is the harddisk in this case.However, after entering the partition (/dev/sda6) and the location of the slackware directory, it gives an error saying unable to find the directory, although the directory is there and contains the slackware files.
 
Old 06-03-2012, 09:30 AM   #11
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,727

Rep: Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674Reputation: 1674
you will have to create a new directory other than mnt to mount /dev/sda6 to before selecting the source media.
 
1 members found this post helpful.
Old 06-03-2012, 10:49 AM   #12
r_s
Member
 
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101

Original Poster
Rep: Reputation: 21
Got it working. Thanks for the help!!
 
  


Reply

Tags
installation, slackware


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
Installing Windows XP after installing Slackware 13.37 | How to work with the MBR WhiteyMcQ-Tip Slackware 15 03-06-2012 11:56 AM
[SOLVED] Installing SlackWare 13 pkgs onto 12.2 SlackWare browser Slackware 6 07-19-2010 08:03 PM
Installing Slackware to loop file from EXISTING Slackware simopal6 Slackware 12 06-25-2010 12:59 AM
[SOLVED] Installing Slackware on IDE hardrive boot from slackware DVD ethereal1m Linux - Newbie 2 01-24-2010 04:28 AM

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

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

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