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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-31-2012, 05:09 AM
|
#1
|
Member
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101
Rep:
|
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
}
|
|
|
05-31-2012, 11:11 AM
|
#2
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,727
|
try adding nomodeset to the linux line
|
|
1 members found this post helpful.
|
05-31-2012, 01:00 PM
|
#3
|
Member
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101
Original Poster
Rep:
|
Thanks for the reply, but didn't work.
|
|
|
05-31-2012, 01:33 PM
|
#4
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,727
|
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.
|
|
|
06-01-2012, 03:56 AM
|
#5
|
Member
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101
Original Poster
Rep:
|
No success. Am I doing anything incorrectly?
I'm so frustrated that I'd rather use a usb stick to burn the iso.
|
|
|
06-01-2012, 10:32 AM
|
#6
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,183
|
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?
|
|
|
06-01-2012, 11:20 AM
|
#7
|
Member
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101
Original Poster
Rep:
|
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.
|
|
|
06-01-2012, 04:09 PM
|
#8
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,727
|
Do you get any messages on the screen before the screen goes black? What kind of video card does the computer have?
|
|
|
06-02-2012, 06:16 PM
|
#9
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,183
|
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.
|
|
|
06-03-2012, 08:46 AM
|
#10
|
Member
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101
Original Poster
Rep:
|
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.
|
|
|
06-03-2012, 09:30 AM
|
#11
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,727
|
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.
|
06-03-2012, 10:49 AM
|
#12
|
Member
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101
Original Poster
Rep:
|
Got it working. Thanks for the help!!
|
|
|
All times are GMT -5. The time now is 05:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|