LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-18-2013, 08:35 AM   #31
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,379

Rep: Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824

Please look at the excerpt from the reference manual that I posted in #29.
Quote:
The devices under [Excluded from boot order] cannot be booted.
i.e. Only a USB floppy device can be used for booting. No other USB devices are supported.
 
Old 06-18-2013, 11:27 AM   #32
amenos42
Member
 
Registered: Jun 2013
Location: USA
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: Disabled
I successfully navigated the BIOS of the CF-29 and I have the net boot option at the top of the boot order. The part that's been giving me trouble is creating the boot disk.

I just read up a little bit on SYSLINUX. I understand I've got to place a bootable kernel on my USB formatted as a FAT filesystem (FAT32 in this case) then run syslinux from DOS.

This is what I plan to run:

syslinux -a -d c:\...\syslinux-5.10\win32\syslinux.exe f:

with f: being my removable USB drive. Am I doing it right?

And another question. When I copy the kernel (hugesmp.s) onto the disk, should I copy bzImage, config, and System.map.gz into f:/ or f:/hugesmp.s ? Does it matter? Does SYSLINUX automatically detect kernels?

Thanks so much for your help so far. It's true what they say about slackware. I'm learning a lot about how Unix works, and it's really exciting.
 
Old 06-18-2013, 11:48 AM   #33
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,079

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
as long as the partition is flagged as bootable with fdisk, it should work. and yes, you should copy those files, the bzimage is actually the kernel
 
Old 06-18-2013, 01:03 PM   #34
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,044

Rep: Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977
Quote:
Originally Posted by amenos42 View Post
I successfully navigated the BIOS of the CF-29 and I have the net boot option at the top of the boot order. The part that's been giving me trouble is creating the boot disk.
You do not need a boot disk, if:
(1) You have another computer at hand.
(2) This other computer can boot from a CD/DVD or an USB key.
(2) You link the two computers with an Ethernet wire (with a RJ45 connector at each end).

If these conditions are met, just boot the second computer with an bootable USB key (Slackware installer) or a Slackware DVD, then run 'pxesetup' instead of 'setup' after booting and follow instructions. Of course you will have to link the computers with the Ethernet wire and, once th PXE server is up and running (in memory, so it will install nothing on the hard disk) on the second computer, just switch on the CF-29 and you should see Slackware installer's greeting screen appearing on it.

PS I just saw that allen already told that in post #29, sorry.

Anyway...

@amenos : do you have another computer at hand to do a PXE boot? If yes, please just do it.

Last edited by Didier Spaier; 06-18-2013 at 02:07 PM.
 
Old 06-18-2013, 05:02 PM   #35
amenos42
Member
 
Registered: Jun 2013
Location: USA
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: Disabled
I just finished making the boot USB, which I figure is a form of boot disk. I wasn't talking about a floppy. I'm working on the PXE thing now.

Out of curiosity... is it possible to do this using wireless, without an ethernet cable? I have a cable and I'm going to use it, but some time in the future I might not.
 
Old 06-18-2013, 05:18 PM   #36
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,438
Blog Entries: 2

Rep: Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001
Quote:
Originally Posted by amenos42 View Post
Out of curiosity... is it possible to do this using wireless, without an ethernet cable? I have a cable and I'm going to use it, but some time in the future I might not.
PXE only works with wired connections, AFAIK.
 
Old 06-18-2013, 05:56 PM   #37
amenos42
Member
 
Registered: Jun 2013
Location: USA
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: Disabled
Okay, well the USB is working. However, I'm having a problem identifying the source for pxesetup. On Windows I see f:/kernels and f:/slackware (which contains the packages) and I assume this is what the installer wants. But if I give it "f:" or "/dev/sda" or "/dev/sda1" it doesn't work. In fact, I took a look in /dev and it doesn't even have /sda or anything. What's going on here?
 
Old 06-18-2013, 09:31 PM   #38
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,379

Rep: Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824
Using a USB will not work. The BIOS on the CF-29 does not support booting from USB.

If you do want to install Slackware on the CF-29, review posts #34, #29, #24 and #10 (together with the links therein).

If you want to keep playing with boot images, feel free, but it will not achieve the aim of installing Slackware on the CF-29.
 
Old 06-18-2013, 09:45 PM   #39
amenos42
Member
 
Registered: Jun 2013
Location: USA
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: Disabled
I'm using the USB disk to boot the other computer.
 
Old 06-19-2013, 03:51 AM   #40
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,044

Rep: Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977
Quote:
Originally Posted by amenos42 View Post
Okay, well the USB is working. However, I'm having a problem identifying the source for pxesetup. On Windows I see f:/kernels and f:/slackware (which contains the packages) and I assume this is what the installer wants. But if I give it "f:" or "/dev/sda" or "/dev/sda1" it doesn't work. In fact, I took a look in /dev and it doesn't even have /sda or anything. What's going on here?
Before runnng 'pxesetup', or when it asks for the source, fire up another console with ALt+F2 then just press [Enter] to log in as root (no password needed).

Then type
Code:
cat /proc/partitions
The drive which is called f: on Windows should be called /dev/sd<something> on Linux. You should be able to find out which it is considering its size. To check what it contains (let's call that partition /dev/sdx for now), type this:
Code:
mkdir /windows
mount -t auto /dev/sdx /windows
ls -1 /windows
If it is not the good one, just type:
Code:
umount /windows
and redo that with another one, till you find the good one.

If you don't succeed, it would help to report here the output of 'cat /proc/partitions'.

After having found the good partition go back th the first console with Alt+F1. If it is mounted choose the relevant menu entry 'from a pre mounted partition', else choose 'from a hard disk directory' as source and type what you have found.
 
Old 06-20-2013, 10:30 AM   #41
amenos42
Member
 
Registered: Jun 2013
Location: USA
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: Disabled
Good news and bad news. The good news is that the install was successful. It couldn't find the kernels in /windows even though they were visible with ls. No idea why, but I just gave it /dev/sdb1 instead (which is where the USB turned out to be).

The bad news is this: two errors.

1) LILO couldn't install because "cannot open: /etc/lilo.conf" It told me to edit that file and install LILO manually. I think maybe it would actually be better to use a different bootloader?

2) I couldn't set a password for ROOT because "cannot lock /etc/shadow/" and it told me to "try again later" which didn't sound convincing.
 
Old 06-21-2013, 01:36 PM   #42
Emrod
LQ Newbie
 
Registered: May 2013
Location: Switzerland
Distribution: SLACKWARE,freeBSD,Debian, Arch
Posts: 18

Rep: Reputation: Disabled
Hi, flashing the BIOS might help - for USB or connecting en external DVD.
ref Post 10 - the description of PXE installation is very detailed and good, I read it today.
Is it possible to use dd if= of= on a second HDD to copy the .iso in analogy to Unetbootin ?
 
Old 06-22-2013, 06:53 AM   #43
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,438
Blog Entries: 2

Rep: Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001
Quote:
Originally Posted by Emrod View Post
Is it possible to use dd if= of= on a second HDD to copy the .iso in analogy to Unetbootin ?
Not with the ISO, but with the USB boot image that should work.
 
Old 06-24-2013, 02:00 PM   #44
amenos42
Member
 
Registered: Jun 2013
Location: USA
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: Disabled
So the install has been successful, but I wasn't able to install LILO for some reason. This means I have a full Slackware install (I think) but I'm not able to boot except with PXE. I decided to install GRUB, which was among the things on the USB. There's a file in /extras/grub with a .txz extension, and I'm not able to open it with tar. I found a help thread elsewhere suggesting
Quote:
tar -Jxvf ./filename.txz
but tar tells me it doesn't understand -J. It would help if I knew how to scroll up when I get a message longer than the screen. >.> Even if I were able to unzip that file, I don't really know how to run a script.

Anyway, I decided to use pkgtool instead, which told me I had to mount my root partition at /mnt, but when I did that and ran pkgtool it returned a page full of blank lines and gave me the prompt as if nothing had changed.

TL;DR What do you do with .txz archives?
 
Old 06-24-2013, 06:54 PM   #45
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,438
Blog Entries: 2

Rep: Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001
Those are Slackware packages, you can install them with installpkg. Do do that from the install system (booted over PXE) mount your /-partition to /mnt, then run
Code:
installpkg --root /mnt /path/to/grub-0.97-i486-9.txz
 
  


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
[SOLVED] Installing Slackware 14 from usb drive? fuser312 Slackware 12 11-26-2012 08:17 AM
[SOLVED] Installing Slackware from a USB sudeepkulkarni Slackware 6 04-05-2011 06:43 AM
Installing Slackware without CD or USB Captain_Thunder Slackware 4 10-26-2007 07:42 AM
Installing Slackware 10.1 to USB HD chrishx3000 Slackware - Installation 0 06-27-2005 03:43 PM


All times are GMT -5. The time now is 09:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration