| Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-16-2012, 01:09 AM
|
#1
|
|
LQ Newbie
Registered: Oct 2010
Posts: 12
Rep:
|
Installing from a hard drive partition using grub.
I read an article to install linux directly from the hard drive, where it says:
Quote:
From the terminal enter these commands
sudo mkdir /distro
sudo chmod `whoami`:`whoami`
cp MYLINUX.iso /distro/distro.iso
Now extract Linux_kernel & Ram_disk to /distro#
Open /boot/grub/menu.lst
#ADD NEW ENTRY#
title Install Linux
root (hdX,X)
kernel /distro/Linux_kernel
initrd /distro/Ram_disk
Reboot and select "Install Linux" from grub.
|
So, I decided to use it to install the latest Slackware.
Copied the kernel from kernels/huge.s/bzImage and the ramdisk from isolinux/initrd.img
However,when I rebooted,I received this:
Quote:
Booting Install Linux
root (hd0,6)
Filesystem Type unknow, partition type 0X82
kernel /abaco/distro/bzImage
Error 17: Cannot mount selected partition
|
So what I am doing wrong?
Thanks for the help
|
|
|
|
09-16-2012, 03:19 AM
|
#2
|
|
Member
Registered: Dec 2009
Posts: 861
Rep:
|
Are you sure that your grub supports isos? I think that this wasn't supported in the past.
|
|
|
|
09-17-2012, 11:17 PM
|
#3
|
|
Senior Member
Registered: Mar 2010
Location: Oakland,Ca
Distribution: DebianSqueeze, winsxp, wins7, Debian wheezy, LFS 7.2
Posts: 4,144
|
Try using unetbootin it is supposed to be able to support booting from hdd. Its intertwined in Installation & Screenshots.
http://unetbootin.sourceforge.net/
|
|
|
|
09-18-2012, 12:55 PM
|
#4
|
|
LQ Newbie
Registered: Oct 2010
Posts: 12
Original Poster
Rep:
|
Quote:
Originally Posted by yooy
Are you sure that your grub supports isos? I think that this wasn't supported in the past.
|
Well, that it is what the article says
Quote:
|
Try using unetbootin it is supposed to be able to support booting from hdd. Its intertwined in Installation & Screenshots.
|
And Unetbootin doesn't work on my system.
|
|
|
|
09-21-2012, 12:49 AM
|
#5
|
|
Senior Member
Registered: Mar 2010
Location: Oakland,Ca
Distribution: DebianSqueeze, winsxp, wins7, Debian wheezy, LFS 7.2
Posts: 4,144
|
I was wonderinfg do you have a bootable system, I just installed debian from a working os using debootstrap, was wondering if you wanted to try that.
|
|
|
|
09-21-2012, 06:16 PM
|
#6
|
|
LQ Newbie
Registered: Oct 2010
Posts: 12
Original Poster
Rep:
|
Quote:
Originally Posted by EDDY1
I just installed debian from a working os using debootstrap, was wondering if you wanted to try that.
|
Can you give me more details? Never heard about it before.
Quote:
|
I was wonderinfg do you have a bootable system
|
Yes, in my case Unetbootin doesn't work because I don't have libstdc++.so.6
Now I am almost certain that the problem is due to what yooy said: old grub that doesn't support ISO booting. I will try to install grub 2 and see how things go on.
|
|
|
|
09-21-2012, 06:19 PM
|
#7
|
|
Senior Member
Registered: Mar 2010
Location: Oakland,Ca
Distribution: DebianSqueeze, winsxp, wins7, Debian wheezy, LFS 7.2
Posts: 4,144
|
|
|
|
|
09-22-2012, 03:35 AM
|
#8
|
|
LQ Newbie
Registered: Oct 2010
Posts: 12
Original Poster
Rep:
|
I am following the guide that you mentioned in http://www.debian.org/releases/stable/i386/apds03.html but I found a problem during the stage
Quote:
I: Extracting xz-utils...
I: Extracting zlib1g...
W: Failure trying to run: chroot /abaco mount -t proc proc /proc
W: See /abaco/debootstrap/debootstrap.log for details
|
In the debootstrap.log file I saw this:
Quote:
|
/usr/sbin/debootstrap: line 903: chroot: command not found
|
I have chroot on my system and also there is the newer version that debootstrap did install
What I should do now?
Last edited by coltson; 09-22-2012 at 03:51 AM.
|
|
|
|
09-22-2012, 01:01 PM
|
#10
|
|
Member
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 959
Rep: 
|
You might have a corrupt slackware iso file.
you did extract and copy initrd.img from slackware/isolinux and bzImage, System.map.gz from slackware/kernels
your grub entry did look like this?
Code:
title Install Linux
root (hdX,X)
kernel /path to linuxkernel/bzImage
initrd /path to initrd/initrd.img
Last edited by colorpurple21859; 09-22-2012 at 01:21 PM.
|
|
|
|
09-22-2012, 03:53 PM
|
#11
|
|
Senior Member
Registered: Mar 2010
Location: Oakland,Ca
Distribution: DebianSqueeze, winsxp, wins7, Debian wheezy, LFS 7.2
Posts: 4,144
|
|
|
|
|
09-22-2012, 04:00 PM
|
#12
|
|
Senior Member
Registered: Jan 2011
Distribution: Slack14_64_Multilib
Posts: 1,400
Rep: 
|
Quote:
Originally Posted by yooy
Are you sure that your grub supports isos? I think that this wasn't supported in the past.
|
grub 2...can do it I think from what I've read.
|
|
|
|
09-24-2012, 02:58 AM
|
#13
|
|
LQ Newbie
Registered: Oct 2010
Posts: 12
Original Poster
Rep:
|
Yes, the problem was with chroot outside the path. After putting its directory in path (and also ldconfig) I was able to successfully install the base system.
However:
Quote:
MAKEDEV generic
bash: MAKEDEV: command not found
|
this came up. I searched the internet and found this:
http://www.mail-archive.com/debian-b...msg135436.html
So, the bug was supossed to be fixed by now? Should I reopen it?
And what about these options?
Quote:
|
bind mount /dev from your host system on top of /dev in the target system; note that the postinst scripts of some packages may try to create device files, so this option should only be used with care
|
Debian warns about this option, but the guy from the blog used it:
http://daemonkeeper.net/668/how-to-b...-linux-system/
Linux from scratch first recomends:
Quote:
|
mount devpts /dev/pts -t devpts
|
and if doesn't work, then this
Quote:
|
mount -t devfs devfs /dev
|
|
|
|
|
09-24-2012, 06:10 AM
|
#14
|
|
Senior Member
Registered: Mar 2010
Location: Oakland,Ca
Distribution: DebianSqueeze, winsxp, wins7, Debian wheezy, LFS 7.2
Posts: 4,144
|
MAKEDEV command is not there udev takes care of it. You just have to mount proc sys dev devpts accordingly.
This 1 works.
Quote:
|
mount devpts /dev/pts -t devpts
|
It appears that you are doing well.
Like I said I used all 3 of those posts to get a working system.
While Daemonkeeper.net helped me with mount commands, D3. help me get locales & everything else configured.
Glad to know you have atleast gotten base system in.
Oh btw when you've finished & have your system configured don't forget that you still have everything sitting in /mnt just taking up space. You can remove it.
Last edited by EDDY1; 09-24-2012 at 06:20 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:18 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
|
|