LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-21-2012, 05:02 PM   #1
qunying
Member
 
Registered: Jun 2002
Distribution: Slackware
Posts: 257

Rep: Reputation: 147Reputation: 147
Slackware 14 RC5 install image has a typo in boot up message


The install image has a small typo when first bootup. This is from the usbboot.img, I did not try the other.

It says:
Quote:
In a pinch, you can boot your system from here with a command like:
boot: huge.s root=/dev/sda1 rdinit= ro
Where rdinit should be initrd to avoid loading the initrd image.
 
Old 09-21-2012, 06:05 PM   #2
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Rep: Reputation: 74
I thought it always said rdinit?
 
1 members found this post helpful.
Old 09-21-2012, 08:26 PM   #3
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
That is not a typo. From /usr/src/linux/Documentation/kernel-parameters.txt
Code:
	rdinit=		[KNL]
			Format: <full_path>
			Run specified binary instead of /init from the ramdisk,
			used for early userspace startup. See initrd.
 
1 members found this post helpful.
Old 09-21-2012, 08:31 PM   #4
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 294

Rep: Reputation: 39
It's rdinit. I always used that when fixing broken Slackware installations.
 
1 members found this post helpful.
Old 09-22-2012, 02:24 AM   #5
foobarz
Member
 
Registered: Aug 2010
Distribution: slackware64-current
Posts: 48

Rep: Reputation: 10
Yes, kind of interesting... for example, if you are using an initrd.gz in lilo.conf:

boot: vmlinuz rdinit=/bin/sh

This runs /bin/sh inside the initrd instead of the usual /init script. This gets you a sh shell and nothing that /init normally does happens at all. Then, you can fix something maybe, and manually run /init (exec it so it is pid 1):

exec /init

Then, the system starts normally.

But, "rdinit=" tells the kernel to ignore the initrd and skip along with regular "legacy" boot of the root= device.

Last edited by foobarz; 09-22-2012 at 02:29 AM.
 
2 members found this post helpful.
Old 09-22-2012, 11:46 AM   #6
qunying
Member
 
Registered: Jun 2002
Distribution: Slackware
Posts: 257

Original Poster
Rep: Reputation: 147Reputation: 147
That is something interesting to know. As in my case, I don't need the extra support from initrd, so I used initrd= to skip the loading of it.
 
  


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
Slackware install boot cd image files located? AngryAngry Slackware 2 01-23-2011 06:06 PM
SSL version number typo in slackware.com repository clifford227 Slackware 3 04-01-2010 04:33 PM
fedora 10 install via hard disk got a wrong message!---Missing ISO 9660 image netyq Linux - Newbie 1 01-31-2009 09:28 AM
Typo in slackware-current/source/a/lilo/liloconfig drumz Slackware 7 02-22-2008 12:53 PM
kernel 2.6.17-rc5 with Slackware-stable? uselpa Slackware 10 06-04-2006 06:50 PM

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

All times are GMT -5. The time now is 11:02 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