Random

Chat about Linux in general

Random

Postby blevo on Sat Jul 25, 2009 11:51 am

what? oh. I'm typing. anyone else like random? I'm a fancier. So I was wondering if it is possible to:

setup GRUB (I guess) so one could boot into whatever system fate chose.

What do you think? And how would one go about doing that ya think?

cool

thankyou internet, and Goodnight from the az.

PS. If you didn't understand this post please ask your question so I can explain it better to you (if I find the time).
PPS. You see I'm not a fan(cier) of typing. So...
blevo
Level 2
Level 2
 
Posts: 67
Joined: Sat Jun 30, 2007 8:15 pm

Linux Mint is funded by ads and donations.
 

Re: Random

Postby skippingdiscman on Tue Jul 28, 2009 12:13 pm

If you're referring to running a multiple OS box and using the GRUB loader to choose between different OS's upon boot-up, this forum should point you in the right direction.
http://mintguides.blogspot.com/2008/08/ ... 5-and.html

I'm running Linux Mint 6, Windoze XP, and 98 all on the same 160G drive using GRUB as my boot loader. Just make sure that you leave enough drive space for all the OS's you want to use.


hope this helps
//SD
User avatar
skippingdiscman
Level 1
Level 1
 
Posts: 8
Joined: Fri Jul 24, 2009 11:31 am
Location: Denver, CO

Re: Random

Postby Kaye on Sun Aug 02, 2009 10:48 pm

I think he's already dual-booting and wants grub to randomly select an OS for him each time he restarts. I don't know how to do that, but I'm willing to bet it can be done by editing /boot/grub/menu.lst. I would venture a guess that it might be possible to make the default selection random and then simply have no timeout so it selects the default immediately. That is all probably wrong, just speculation.
"In somnis veritas"
Antivirus or defragging?
Image
User avatar
Kaye
Level 5
Level 5
 
Posts: 942
Joined: Fri Feb 06, 2009 5:05 pm
Location: Boston College

Re: Random

Postby DrHu on Sun Aug 02, 2009 11:46 pm

blevo wrote:setup GRUB (I guess) so one could boot into whatever system fate chose.
Random answer...

Fate you say, then that is not a computer

Unless you were thinking about the Starship Enterprise..
Computer?
Captain
Please give me all the sensor data for the last 2 days sorted by weapons scans
Calculating, data avilable in 1 minute..
Display on main screen
Displaying data
User avatar
DrHu
Level 16
Level 16
 
Posts: 6630
Joined: Wed Jun 17, 2009 8:20 pm

Re: Random

Postby blevo on Tue Aug 04, 2009 6:02 pm

yep... you guys got it. I'm wondering if GRUB can be setup to randomly start up an OS on it's list
blevo
Level 2
Level 2
 
Posts: 67
Joined: Sat Jun 30, 2007 8:15 pm

Re: Random

Postby emorrp1 on Tue Aug 04, 2009 6:35 pm

I'm going to guess no on this one. I will however offer a way to simulate it (pretty much like kaye was saying, at a high level description, it's up to you to implement it) Presumably you know how many OSs and hence how many entries you have on your own machine. Write a script that randomly generates a number between 0 and that number, loads up /boot/grub/menu.lst (on the partition that controls the grub) and changes the default to the random number. Set this script to load on boot in each OS, and voila, a random boot sequence, enjoy :/
If you have a question that has been answered and solved, then please edit your original post and put a [SOLVED] at the end of your subject header
Hint - use a google search including the search term site:forums.linuxmint.com
emorrp1
Level 8
Level 8
 
Posts: 2322
Joined: Thu Feb 26, 2009 8:58 pm


Return to Chat about Linux

Who is online

Users browsing this forum: No registered users and 4 guests