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 01-19-2008, 01:17 AM   #16
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73

Quote:
Originally Posted by rkelsen View Post
OK, i give up. WTH is "Slackware MP3 mode?"
Often I want to boot my computer up as a music player as quickly as possible and without needing to login. My startup scripts look for the mp3player variable and if it is on, Slackware boots up into mp3player mode. In this mode a command line music player (herrie) is started before the login process. Herrie has a really easy to use ncurses interface and works with playlists (and xmms style shortcuts for play control).

I use this setup in my laptop when I travel so I can play music in my car (I don't have a dedicated mp3player). I also use it on my desktop when I want some music on quickly, such as when I get home and want to work out or work around the house. It is also useful in party situations because I can tell someone to simply choose the MP3 boot option to access my music. Herrie can chroot itself in a directory so I don't have to worry about anyone trying to look at my file system. If they exit the program or somehow kill it they just get a login prompt.

In some setups I use this with (such as laptops) MP3 mode also makes my file systems read only so I can poweroff without shutting down. I also give myself the option to load other hard drives (by default I don't do this to save power), if applicable.

When I'm done with MP3 mode I simply give the three finger salute (which I changed to shut the system down instead of reboot) or I login (optionally telinit if needed).
 
Old 01-19-2008, 01:45 AM   #17
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by shadowsnipes View Post
Often I want to boot my computer up as a music player as quickly as possible and without needing to login.
Genius! Thanks for that.
 
Old 01-19-2008, 07:04 AM   #18
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
I dunno about "genius", but that's definitely an intelligent (and effective, and creative) use of boot parameters, and exposing people to ideas like that is a good thing. Way to go shadowsnipes!
 
Old 01-19-2008, 02:27 PM   #19
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by evilDagmar View Post
I dunno about "genius", but that's definitely an intelligent (and effective, and creative) use of boot parameters, and exposing people to ideas like that is a good thing. Way to go shadowsnipes!
Thank y'all for the generous comments Perhaps as evilDagmar said it will get people thinking about all the custom ways they can startup Slackware using boot options.
 
Old 01-20-2008, 05:10 AM   #20
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Well, people are rather frequently trying to deploy specialized appliance-like setups and almost never seem to realize that these parameters are quite visible from inside the OS once it's booted up.
 
Old 01-20-2008, 09:50 PM   #21
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
I set-up a dual boot with Slackware 12 and FreeBSD 6.3 today. I modified my lilo.conf. This worked for me.

Code:
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda2
label = Linux
read-only
# Linux bootable partition config ends
# FreeBSD
other = /dev/hda3
table = /dev/hda
label = FreeBSD
 
Old 01-20-2008, 10:13 PM   #22
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Original Poster
Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
I am a little new to this:

Quote:
Originally Posted by hitest View Post
I set-up a dual boot with Slackware 12 and FreeBSD 6.3 today. I modified my lilo.conf. This worked for me.

Code:
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda2
label = Linux
read-only
# Linux bootable partition config ends
# FreeBSD
other = /dev/hda3
table = /dev/hda
label = FreeBSD
so forgive a possibly ignorant question: This means that BSD uses its own bootloader installed to hda3 rather than the MBR?

Andrew
 
Old 01-20-2008, 10:46 PM   #23
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Smile

Quote:
Originally Posted by andrew.46 View Post
I am a little new to this:



so forgive a possibly ignorant question: This means that BSD uses its own bootloader installed to hda3 rather than the MBR?

Andrew
I didn't install a boot loader when I installed FreeBSD on hda3. I use lilo on my Slackware partition to boot FreeBSD 6.3.
 
Old 10-01-2008, 09:51 AM   #24
tbklt
LQ Newbie
 
Registered: Sep 2008
Distribution: slackware 11, BT3, ubuntu 8.10
Posts: 5

Rep: Reputation: 0
Thumbs up

I've just followed the advice in this thread and succesfully set-up slack 11 and ubuntu gutsy 7.10 to dual-boot using lilo, both on separate IDE hardisks in my pc. thanks for the helpful advice.
 
Old 10-01-2008, 11:20 AM   #25
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
My setup: Slackware's lilo in MBR, Debian's GRUB in its root partition, and Debian's entry in lilo.conf:

Code:
other = /dev/hda3
  label = Debian
On my laptop, Ubuntu's GRUB in its root, lilo in MBR, with lilo.conf entry:

Code:
other = /dev/sda5
  label = Ubuntu

Last edited by brianL; 10-01-2008 at 11:28 AM.
 
Old 10-01-2008, 11:35 AM   #26
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
When I used to do multiboot with multiple distros, my setup was:
- One /boot partition common to all distros
- Grub on mbr hard drive
The only thing I had to care is use different names for each distro kernel in /boot
(custom kernels/System.map with extra version number etc)
 
Old 10-01-2008, 03:26 PM   #27
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
It all goes to show "There Is More Than One Way To Do It". Think I got my method from Saikee's Booting Tips, on the Justlinux forums. It's simple, and makes it easy to change distros.
 
  


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
dual boot (xp pro and slackware 10.2) using lilo creeper_lin Slackware 4 06-06-2006 05:02 PM
Lilo with Ubuntu, dual boot with Mandrake ploosh Ubuntu 2 03-17-2005 06:34 PM
Advice for dual-boot sys setup gliengul Linux - Newbie 4 05-19-2004 02:24 PM
Lilo hideing partician on dual boot setup. stinehart Linux - Software 4 11-27-2003 01:50 PM
Slackware dual boot, lilo troubles... lt1derful Linux - Newbie 2 07-01-2003 08:58 PM

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

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