Refracta Development, Scripts, etc.
Post a reply
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Proposed boot menu

Sun Oct 16, 2011 4:24 pm

I tested the default in vbox, and it seemed to work. I still need to make an iso with these settings, add it to my usb stick and boot my main machine with the nvidia card to see if it works. If it does, I think that will be odd, because normally, I have to add nomodeset to the boot options, not remove it.
Comments and suggestions welcome.

Code:
  `label live
  menu label Refracta (default)
  kernel /live/vmlinuz quiet
  append initrd=/live/initrd.img boot=live ip=frommedia union=aufs
  label live2
  menu label Refracta (nomodeset)
  kernel /live/vmlinuz quiet nomodeset
  append initrd=/live/initrd.img boot=live ip=frommedia union=aufs
  label live2
  menu label Refracta (load to RAM)
  kernel /live/vmlinuz quiet
  append initrd=/live/initrd.img boot=live ip=frommedia union=aufs toram
  label live2
  menu label Refracta (no probe)
  kernel /live/vmlinuz quiet noapic noapm nodma nomce nolapic nosmp vga=normal
  append initrd=/live/initrd.img boot=live ip=frommedia union=aufs toram
  label memtest
  menu label Memory test
  kernel /live/memtest`

meandean

- meandean
- Posts: 392
- Joined: Wed Mar 09, 2011 5:16 am

## Re: Proposed boot menu

Tue Oct 18, 2011 9:01 pm

You could probably make fifty stanzas and still run into some case where an option needed to be added/removed but those look like a good selection.
jheaton5

- jheaton5
- Posts: 45
- Joined: Wed Mar 09, 2011 9:26 pm

## Re: Proposed boot menu

Thu Oct 20, 2011 4:14 pm

I'm not a rocket scientist, but it didn't take me long to find the file to edit to get it up and running. What I did was to edit the boot menu to remove nomodeset. Then I made a snapshot on my hard drive and edited the boot menu file to remove nomodeset. Then it was simple to burn a disk of my hd system. Now I have a fully functioning live boot disk. I agree with Dean that you can't possibly have a boot menu for every quirky system. Perhaps instructions in the READ ME file would help point users in the right direction.
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## Re: Proposed boot menu

Thu Oct 20, 2011 8:07 pm

I never had to use boot-options, hence to me it does not matter.
I now understand what to-RAM is.
Can someone give me a short explanation of nomodeset?
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: Proposed boot menu

Thu Oct 20, 2011 9:20 pm

http://wiki.debian.org/KernelModesetting
http://nouveau.freedesktop.org/wiki/KernelModeSetting
http://en.wikipedia.org/wiki/Mode-setting
If you put nomodest in nouveau (gpl nvidia driver, doesn't always work ) is disabled, normally that's what you don't want but might have to. ATI and some intel graphics might have similar problems. Blame it all on proprietary B$.
Some boot parameters are for the kernel (there are a lot of options, if you want to plough through kernel.org)
Others are specific for live-boot and live-config, details in their man pages. Some make no difference to Refracta because of preconfigured stuff (user, passwords, hostname ...)
nadir

- nadir
- Posts: 1160
- Joined: Wed Mar 09, 2011 4:18 am
- Location: here

## Re: Proposed boot menu

Thu Oct 20, 2011 10:31 pm

Thanks, good explanation and links (i even ran across it once, but edited /etc/modprobe.d/i915-kms.conf instead of boot paramters).
Looks like in general i don't need it (no nvidia or ati, and intel usually just works).
If i will need it i know where to find the links.
jheaton5

- jheaton5
- Posts: 45
- Joined: Wed Mar 09, 2011 9:26 pm

## Re: Proposed boot menu

Thu Oct 20, 2011 11:30 pm

Well I have nvida graphics but the proprietary driver doesn't work in sid. So I use nouveau. Hence the removal of nomodeset from the boot command.
meandean

- meandean
- Posts: 392
- Joined: Wed Mar 09, 2011 5:16 am

## Re: Proposed boot menu

Fri Oct 21, 2011 12:15 am

I once thought that printing 'press esc to edit boot options' on the boot screen might be good. But then I assumed that anyone who wanted to change boot options already knew that. Of course if that is printed it would probably lead to more confusion rather than less without a lot more info.
By the way, you have three entries that are labeled live2. I think it would be nicer to have different labels. Just sayin...
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Proposed boot menu

Fri Oct 21, 2011 1:32 am

OK, I just found where to add some instructions to the boot menu, and I'll add "Press TAB to edit the boot options" (in stdmenu.cfg). That'll save me from having to remember which key it is. As for the number of entries labeled "live2", it's only one more than what was there when I got the file, and I was afraid to try anything different, in case it worked like the pass field in fstab. Those labels don't show up on the boot screen for the sections that have a "menu label" line.
meandean

- meandean
- Posts: 392
- Joined: Wed Mar 09, 2011 5:16 am

## Re: Proposed boot menu

Fri Oct 21, 2011 2:58 am

Is that the file I sent you or did you snag one from somewhere else? Forgetting to label them properly sounds like something I would do. They should probably have different labels so it is possible to hit tab and then type in the label and any extra options without having to edit the actual entry. I find that to be easier than tabbing and editing but that is probably just because I am more familiar with that method.
I know my junk is confusing so if you need anything explained or need to know the how/why of something (or just want me to do some tweaking) then just ask. I would of been happy to help with it and come up with something. We could even do the help system like debian has available at the boot prompt if you prefer.
I am not trying to tell you what should be done, only help with what you may want to change. Don't feel obligated to make a change just because it is me saying it. I assure you I am just a user and you cannot do anything wrong with refracta or anything that I am going to object to beyond objecting as a user. I am just a user. I just wanted to point that out so you didn't start resenting me being around dude.
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.