LinuxQuestions.org
Help answer threads with 0 replies.
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 03-16-2005, 12:51 PM   #1
tdking19
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
How to pass on boot parameters Slack 10.1


Could someone please tell me how to pass on boot parameters with LILO (After it's been installed)? I need to pass the nohotplug parameter on to the kernel.

A friend's system hangs on hotplug startup, I think because I enabled her APM and parrallel port modules and one of them is causing trouble so I need to turn hotplug off momentarily to fix the problem.

Thanks for any help,

-- Jason
 
Old 03-16-2005, 12:58 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
To pass a parameter on boot simply type it when you see the lilo menu and/or "Boot: ".
I don't know which parameter you can pass to disable hotplug however you can boot with some linux cd (like slackware's cd 1 or 2), mount your hdd somewhere like /mnt/hdd and disable hotplug from there by typing: chmod -x /mnt/hdd/etc/rc.d/rc.hotplug
 
Old 03-16-2005, 03:08 PM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
nohotplug
 
Old 03-21-2005, 10:41 AM   #4
dragoncity99
Member
 
Registered: Dec 2004
Location: Malaysia
Distribution: Redhat/Fedora Core, Slackware, Ubuntu, Knoppix, Gentoo, SUSE, Ubuntu
Posts: 40

Rep: Reputation: 15
To permanently do so, if using lilo,

change the /etc/lilo.conf file.

Add a line (if u dont have)
---> append = "parameters" (i.e. append = "initrd=initrd.img .....")

If u have that line in ur kernel parameter, just add it at the end of the append.
---> append = "....... noscsi"

Lastly, save and apply your changes by typing "lilo" command on the console.

=============
root@slacky# lilo
Added *Linux
Added *Penguin
root@slacky#
==============


BUt, wait a sec, if want to disable the hotplug, why don't u remove the executable flag for /etc/rc.d/rc.hotplug file?

By:
root@slacky# chmod -x /etc/rc.d/rc.hotplug

Last edited by dragoncity99; 03-21-2005 at 10:43 AM.
 
  


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
Pass Parameters to php from bash iman00b Linux - Newbie 2 09-09-2004 05:30 PM
how do I pass special parameters to the kernel at startup? Falafel Fedora 4 01-19-2004 06:49 PM
slack 9.1 usb-cdrom parameters for install spd28 Slackware 2 10-29-2003 03:41 PM
pass parameters to shell scripts ? qwijibow Linux - Newbie 2 08-07-2003 07:27 AM
howto pass parameters to modules Sammy2ooo Linux - Software 5 07-01-2003 08:30 PM

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

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

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