LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-09-2009, 08:33 PM   #1
vendtagain
Member
 
Registered: Sep 2009
Distribution: Slackware, Debian, Mac OS X, Zenwalk, Puppy, Gentoo
Posts: 199

Rep: Reputation: 32
instll another linux through existing one


I just got linux(puppy) installed/running on an old laptop. I do not have a working cd burner and would like to put another linux dist(slackware) on a difrnt partition on the same computer and was wondering if I could do this through my existing linux.?
 
Old 09-09-2009, 09:04 PM   #2
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
Sure .. try a chroot install. I dont know if this can be done with Slackware, but I chroot installed Arch,Gentoo,Funtoo and Debian all from a chroot install. I prefer this method, this way I know what is being installed. Try Arch... its fast, and easier to install then Gentoo or any variant. Here's the wiki I used http://wiki.archlinux.org/index.php/Install_From_Existing_Linux
 
Old 09-09-2009, 09:41 PM   #3
vendtagain
Member
 
Registered: Sep 2009
Distribution: Slackware, Debian, Mac OS X, Zenwalk, Puppy, Gentoo
Posts: 199

Original Poster
Rep: Reputation: 32
maybe this is a dumb question but im busy w/ some other stuff, i briefly checked the link... cound i just download os files and put them in /sda3 and have grub ask which one i boot to?
 
Old 09-09-2009, 09:44 PM   #4
karlatLQ
Member
 
Registered: Sep 2009
Posts: 67

Rep: Reputation: 19
If you know what you are doing, you can do that. Installing Linux typically is formating the harddrive, making directories, and installing the files needed. If you know what is needed for Slackware, then you can just do it by hand. The installer makes it easier though.
 
Old 09-09-2009, 09:55 PM   #5
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,900

Rep: Reputation: 261Reputation: 261Reputation: 261
this is one way that will work
requirements;
1. 2 partitions: one partition to download slackware files, one partition to install slackware to.
2. able to boot from grub.
steps
1. mount the partition you are going to download files to and create directory slackware-13.0 or whatever version you are going to install .
2. Download slackware/ packages from a slackware mirror to the slackware-13 directory. Alien Bobs rsync script works good for this can get from here: http://www.slackware.com/~alien/tool...are-current.sh
have to modify for mirror you want to use, slackware-version you want and location of the partition to download files to.
3. copy initrd.img from slackware/isolinux and bzImage from slackware/kernels/hugesmp.s to your boot directory
4. edit your grub menu as follows:
title slackinstall
root (location of your boot directory)
kernel /(location of your boot directory)/bzImage
initrd /(location of your boot directory)/initrd.img
5. reboot and select slackinstall and you will be running the same as if running from cd.
6. will have to create a directory to mount the partition to that the installation files are located on before running setup, and give the directory name when setup ask where to install from/
notes:
1.maybe able to use usbkey or puppy partiton to download files to, I've never tried it so don't know.
2. if your use to using puppy 4.?, your drives in slack maybe /dev/hda instead of /dev/sda
3. if you format your install partition with the slack setup, puppy,s grub will not boot it. will have to install lilo to the root partition that slackware is installed on during setup and chainload to it from puppy,s grub

Last edited by colorpurple21859; 09-10-2009 at 02:26 AM.
 
Old 09-09-2009, 10:31 PM   #6
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
Or you can download the ftp install from Arch ... First create a linux partiton. Then copy the ftp kernel and initrd, and then direct grub too boot off of them. There are many ways to install. I prefer the ftp method or a chroot install. I suggested Arch because its a great learning OS and has a package manager to help. Oh and they have a AUR repository and you can use there ABS to create custom packages. Hands down my second favorite linux distro
 
Old 09-10-2009, 01:34 AM   #7
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,900

Rep: Reputation: 261Reputation: 261Reputation: 261
can also format the install partition with puppy make the slackware-13.0 directory on it. download or if you have the first three iso's extract the slackware directory contents from each of the iso's to slackware-13.0/slackware . during the slack setup where it ask you if you want to format the root partition, select no, and where the install ask where the packages are located select local directory and enter /mnt/slackware-13.0/slackware that way will only need one partition for installing and will be able to use puppy's grub to boot slack without having to chainload.

Last edited by colorpurple21859; 09-10-2009 at 01:36 AM.
 
Old 09-10-2009, 02:01 AM   #8
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Another way is to boot from the usb pen drive. Download the slackware iso.
Connect the pen drive. Format it. Extract the iso to the usb drive. Remove isolinux.cfg if it is there or better rename it to syslinux.cfg. Download the syslinux package and install it on the usb drive.
Boot it from usb drive. You wont know if you are booting from usb drive or cd.
 
Old 09-10-2009, 10:11 PM   #9
vendtagain
Member
 
Registered: Sep 2009
Distribution: Slackware, Debian, Mac OS X, Zenwalk, Puppy, Gentoo
Posts: 199

Original Poster
Rep: Reputation: 32
colorpurple I have tried your method and heres what i get:
after selecting slackinstall from grub, several messages flash by on the screen and then it stops when it gets to (these are the last four lines on the page)
"pci 0000:00:1e.0: PCI bridge, secondary bus 0000:01...(newline).....
pci 0000:00:1e.0: IO window: 0x2000-0x2fff....(newline)....
pci 0000:00:1e.0: MEM window: 0xf4100000-0xf42fffff...(newline)....
pci 0000:00:1e.0: PREFETCH window: 0x0000000100000-0x0000019fffff"

after a few minutes of sitting like this, the screen just turns black.
it never gets to a point where it is prompting for somethin.

i tried entering the address of kernel and initrd manually(instead of copying them to boot directory), and got same results.
I also tried this same method but with Arch and got the same result.
any ideas why this might be happening?

and btw the computer does not support pen drive boots so that is out of the question.
 
Old 09-11-2009, 06:12 AM   #10
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,900

Rep: Reputation: 261Reputation: 261Reputation: 261
on my system I have a directory called slack that one of my pupy grub entries point to, and in that directory it I have the following files: bzImage, config, System.map.gz, and initrd.img. The first three files came from the slackware kernel/hugesmp folder and the last from the isolinux folder. I see where I fail to mention the other two files.
Maybe it's where I have the files in there own directory /slack instead of /boot. maybe need to use kernel from the kerne/huge.s folder, but that is usually not the problem, any options you have in kernel line to get puppy to boot will probably need for slack, (noacpi, nousb, etc)
 
Old 09-11-2009, 12:02 PM   #11
vendtagain
Member
 
Registered: Sep 2009
Distribution: Slackware, Debian, Mac OS X, Zenwalk, Puppy, Gentoo
Posts: 199

Original Poster
Rep: Reputation: 32
i had success in running DSL with this method(or close to it). so i have tried this again with arch, and ran into the same problem as before. i guess ill just wait till i get good internet connectivity(hopefully later today) and try to install it over the net.
 
Old 09-11-2009, 12:20 PM   #12
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,900

Rep: Reputation: 261Reputation: 261Reputation: 261
did you try the copying the kernel files in kernel/huge.s to your /boot and try it huge.s kernel may work when the hugesmp kernel won't depending on how old the laptop is.
 
Old 09-11-2009, 10:44 PM   #13
vendtagain
Member
 
Registered: Sep 2009
Distribution: Slackware, Debian, Mac OS X, Zenwalk, Puppy, Gentoo
Posts: 199

Original Poster
Rep: Reputation: 32
i found out i only had part of slackware and decided not to download the rest of them due to my internet speed, and also looks like a more advanced linux than i'm used to,(haven't used linux for 4-5 years)

so instead of playing "hit and miss" to find a dist that happens to work i'd rather figure out what is going on with it.

I got dsl to work but my comp has a decent HDD 20Gigs, for its time, so id like to get one with a bit more meat
 
Old 09-11-2009, 11:33 PM   #14
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,900

Rep: Reputation: 261Reputation: 261Reputation: 261
if you only have the first cd of slack that would be enough to install to get a console up and running which that is what slack boots to even on a full install. it doesn't boot into gui like the easier distros untill you setup it up that way. adding noapic nolapic acpi=off nousb to the kernel line of grub might keep it from hanging if you want to try. the computer I have when I got it about a year ago is a pentium III with a 20 gib harddrive 300mb of ram have puppy4.1 frugal, debian, and slack 12.1 installed even when I only had 64mb got all 3 distros to run with light window managers. but not having a good internet does make it a pain to download and install.
 
  


Reply


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
How to undo ATI instll on Fedora 5? mman49 Fedora 5 04-25-2006 05:55 PM
Unable to instll modem driver Roger Hunter Linux - Newbie 5 12-05-2005 11:17 PM
Slack custom instll w/ 2.6 kernel? mono Slackware 11 04-12-2005 04:45 AM
did I instll my extralite.tar(codecs) properly shanenin Linux - Software 0 09-24-2003 05:36 PM
uninstall old wine to instll new in RH9 ngan_yine Linux - Newbie 1 09-11-2003 07:51 PM


All times are GMT -5. The time now is 10:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration