LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing slackware from hd (http://www.linuxquestions.org/questions/linux-newbie-8/installing-slackware-from-hd-947724/)

r_s 05-31-2012 05:09 AM

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
}

colorpurple21859 05-31-2012 11:11 AM

try adding nomodeset to the linux line

r_s 05-31-2012 01:00 PM

Thanks for the reply, but didn't work.

colorpurple21859 05-31-2012 01:33 PM

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.

r_s 06-01-2012 03:56 AM

No success. Am I doing anything incorrectly?
I'm so frustrated that I'd rather use a usb stick to burn the iso.

yancek 06-01-2012 10:32 AM

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?

r_s 06-01-2012 11:20 AM

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.

colorpurple21859 06-01-2012 04:09 PM

Do you get any messages on the screen before the screen goes black? What kind of video card does the computer have?

yancek 06-02-2012 06:16 PM

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.

r_s 06-03-2012 08:46 AM

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.

colorpurple21859 06-03-2012 09:30 AM

you will have to create a new directory other than mnt to mount /dev/sda6 to before selecting the source media.

r_s 06-03-2012 10:49 AM

Got it working. Thanks for the help!!


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