LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 02-05-2010, 04:24 AM   #1
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
usb install RAMDISK trouble


Hi!

OK, so I now have slackware v13 on a USB, some 2G worth. Now what I'm trying to do is install it on a D150 Aspire One which certainly allows USB HDD boots but is somewhat fussy about the USB setup: i.e. some usb images work and some don't.

Particularly it's the the DVD-converted-into-USB image ones that it isn't happy about.

WHat happens is, in the slackware case, is that the hugesmp.s kernel is found and appears to be loaded first. Then comes the initrd, foudn and loaded. then a bunch of identification things occur including the SATA harddisk.

So that's quite a long way into the boot process already. Then I get kernel panic, claiming the RAMDISK cant be found and the "root=" option is incorrect. Of course those error reports contradict the earlier activities where ramdisk (initrd) _was_found.

Also I checked a USB image distro that did work and it had root=/dev/ram0 in its syslinux.cfg appended to the kernel.

I reckoned that was the problem and so appended root=/dev/ram0 to the slackware usb's syslinux.cfg in the appropriate place. As usual with troubleshooting, none of this - however logical - had any effect, kernel panic continued. I then went wild with the syslinux.cfg file, deleting adding stuff and none of this had any effect.

This is the world I love: error reports that tend to misguide and spurious config files. OK, I'm being ironic here. So now, I've started to read up on ramdisk's and linux live scripts .. and you can imagine that this will take up alot of time.

So .. has anybody else run into this? Clearly you need a fussy laptop for it. I'm not particularly expecting any replies, so I'm going to check out the Arch linux usb image, which actually did work (in fact, Arch is already installed, but I've been a little disapointed with pacman, so that's why I want slackware up on the laptop).


Thanks for reading. Helpful advice welcome.

Last edited by stabu; 02-05-2010 at 04:26 AM.
 
Old 02-05-2010, 05:42 AM   #2
uppman
Member
 
Registered: Jul 2008
Location: Stockholm, Sweden
Distribution: Slackware 13.1 32-bit
Posts: 145

Rep: Reputation: 24
I don't exactly understand what you are trying to do.

For a way to convert the DVD installer to USB see the link below and look at "Create Slackware installation USB stick/hd":
http://linuxconfig.dyndns.org/lazy/L.../Boot/Syslinux

I used Extlinux with this extlinux.conf:

Code:
default hugesmp.s
prompt 1
timeout 1200
display message.txt
F1 message.txt
F2 f2.txt
label huge.s
  kernel kernels/huge.s/bzImage
  append initrd=initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=huge.s
label hugesmp.s
  kernel kernels/hugesmp.s/bzImage
  append initrd=initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=hugesmp.s
label speakup.s
  kernel kernels/speakup.s/bzImage
  append initrd=initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=speakup.s
 
Old 02-05-2010, 08:42 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

You could look at 'usb-and-pxe-installers', Alien Bob's script that should perform the necessary task, which is on your install media. The 'README_USB.TXT' will lead you with the proper procedures;

Quote:
excerpt from README_USB.TXT;
Introduction
------------

With the release of Slackware 12.0, the era of floppy-boot came to
a definite end. The reason is simple - the Linux 2.6 kernel will not
fit on a single floppy, even in it's most condensed configuration.
In this README, I will show you how to use a bootable USB stick to
install Slackware. This method - creating the USB equivalent of a
boot/root floppy pair - is easy to use and fast. It requires that your
computer is able to boot from USB-HDD.
 
Old 02-05-2010, 11:22 AM   #4
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438

Original Poster
Blog Entries: 5

Rep: Reputation: 32
hi guys, thanks for your replies. Much appreciated.

Maybe I rambled too much, and was incomprehensible.

OK, the situation is, I already used Alien Bob's script to get the DVD on to the USB (not all of it, script defaults to 2G's worth). It seems to have worked. So that's not the problem.

The laptop or its BIOS is fussy, that's what's happening. I need to get into the ramdisk and sort out why it's giving kernel panic despite having loaded a kernel and initrd from the USB.

I've had dodgy laptops before .. there's no knowing how they may spring incompatibilities.

I've had a fault like this when the loaded ramdisk kernel is unable to mount the filesystem, because it's of a type that it has no module for. Could be the same here.

I'm not demanding general help, I'm just posting just in case somebody who has run into this type of "fussy laptop situation" reads.

Thanks!
 
Old 02-05-2010, 12:38 PM   #5
uppman
Member
 
Registered: Jul 2008
Location: Stockholm, Sweden
Distribution: Slackware 13.1 32-bit
Posts: 145

Rep: Reputation: 24
Quote:
Originally Posted by stabu View Post
hi guys, thanks for your replies. Much appreciated.

Maybe I rambled too much, and was incomprehensible.

OK, the situation is, I already used Alien Bob's script to get the DVD on to the USB (not all of it, script defaults to 2G's worth). It seems to have worked. So that's not the problem.

The laptop or its BIOS is fussy, that's what's happening. I need to get into the ramdisk and sort out why it's giving kernel panic despite having loaded a kernel and initrd from the USB.

I've had dodgy laptops before .. there's no knowing how they may spring incompatibilities.

I've had a fault like this when the loaded ramdisk kernel is unable to mount the filesystem, because it's of a type that it has no module for. Could be the same here.

I'm not demanding general help, I'm just posting just in case somebody who has run into this type of "fussy laptop situation" reads.

Thanks!
The initrd with the installation RAMDISK shouldn't even try to mount a root filesystem. Sure you are using the correct one?
 
Old 02-10-2010, 06:32 AM   #6
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438

Original Poster
Blog Entries: 5

Rep: Reputation: 32
thanks uppman. Well there's only one initrd.img.

I'm assuming that initrd.img is the one that's doing all these key ops.

The boot up order it slightly confusing ... the hugesmp.s kernel comes up first (on the screen I mean, while booting) and only afterwards, initrd.img

This then appears to want to to boot something else, even though quite alot of things seem to have already been set-up. Your point that it shouldn't be mounting an FS .. well, I haven't messed with the initrd.img, so it should behaving correctly.
 
Old 02-10-2010, 10:27 AM   #7
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438

Original Poster
Blog Entries: 5

Rep: Reputation: 32
Ok, I abandoned this USB stick endeavour.

Started a fresh just using a new usbinstall.img.

It failed to boot at all.

OK, that's progress!

I mean it! Early problems are easier to deal with than later problems. Of course, there are fewer possible combinations of tests to be done! This time I decided to use the boot menu of this laptop (F12). I had't before because it was booting other USB sticks OK.

However, when I doubly ensured it was set to booting from USB via this channel, it loaded OK!

I love the slackware installer, it's so simple and flexible but this time it couldn't do as advertised: install from a mounted directory source. My fault maybe but I did mount the new directory. In any case, I decided to try the previous USB (the one I mention in my first post) and this time .. it did load properly!

It's installing now. Glory.

Soemthign got to do with the BIOS of this laptop I think. Anyhow, all OK now. Cheers for reading.
 
Old 02-10-2010, 10:55 AM   #8
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438

Original Poster
Blog Entries: 5

Rep: Reputation: 32
OK, all installed. Ethernet/sound/alsa+alsamixer/X ... everything instantly works. Slackware is just the business. Enough said.
 
Old 02-10-2010, 11:55 PM   #9
uppman
Member
 
Registered: Jul 2008
Location: Stockholm, Sweden
Distribution: Slackware 13.1 32-bit
Posts: 145

Rep: Reputation: 24
Glad it worked out! Sometimes you just need some persistance..
 
  


Reply



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
RAMDISK: couldn't find valid ramdisk image starting at 0. iotc247 Slackware 10 12-10-2010 03:08 PM
Mounting a USB Flash drive on a Knoppix Ramdisk Raptorialis Linux - Newbie 2 04-18-2008 05:52 PM
LINUX on RAMDISK/USB DRIVE Bobymc Linux - General 7 05-11-2006 09:04 AM
Install From USB Cdrom Trouble tk02452 Mandriva 5 01-10-2006 04:15 AM
Brand New Install of FC4, Trouble with USB Stick BuckRogers01 Linux - Newbie 14 07-04-2005 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 06:42 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
Open Source Consulting | Domain Registration