Ask your questions here.
Post a reply
dzz

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

## Re: wheezy-based refracta beta2 bugs, discuss, kudos, whatev

Sun Mar 10, 2013 8:27 pm

Editing stdmenu.cfg like this has sorted it:

Code:
  `menu background /syslinux/splash.png
  menu color title * #FFFFFFFF *
  menu color border * #00000000 #00000000 none
  menu color sel * #ffffffff #76a1d0ff *
  menu color hotsel 1;7;37;40 #ffffffff #76a1d0ff *
  #menu color tabmsg * #ffffffff #00000000 *
  menu color help 37;40 #ffdddd00 #00000000 none
  menu vshift 8
  menu rows 12
  #menu helpmsgrow 15
  #menu cmdlinerow 25
  #menu timeoutrow 26
  #menu tabmsgrow 14
  menu tabmsg Press ENTER to boot or TAB to edit a menu entry
  menu color tabmsg * #ffffff00 #00000000 *
  menu color cmdline 0 #ffffff00 #00000000`

The last 2 lines are optional.. I wanted yellow cmdline text for clarity. Note also "isolinux" is replaced by "syslinux" in line 1, that's what I'm using to test this.
fsmithred

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

## Re: wheezy-based refracta beta2 bugs, discuss, kudos, whatev

Sun Mar 10, 2013 8:38 pm

Wow. Thanks for that. I haven't tested it yet, but I'll propagate those changes. The same thing happens booting an iso file.
fsmithred

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

## Re: wheezy-based refracta beta2 bugs, discuss, kudos, whatev

Mon Mar 11, 2013 12:47 am

Tested in isolinux, and your fix works.
dzz

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

## Re: wheezy-based refracta beta2 bugs, discuss, kudos, whatev

Thu Mar 21, 2013 4:53 pm

/usr/lib/refractainstaller/installer_exclude.list contains "- /e**/fstab.d" (should be "- /e**/fstab.d/*")
In a snapshot made from that installation, live-boot tries to write there (not /e**/fstab). Including swap configs, if "swap" is specified.
If the directory does not exist live-boot does not create it. The errors show in live-boot's log:

Code:
  `+ printf Begin: Configuring fstab ...
  Begin: Configuring fstab ... + grep -qs ^aufs /root/etc/fstab.d/live
  /init: line 1: can't create /root/etc/fstab.d/live: nonexistent directory
  + echo aufs / aufs rw 0 0
  + grep -qs ^tmpfs /tmp /root/etc/fstab.d/live
  /init: line 1: can't create /root/etc/fstab.d/live: nonexistent directory
  ## SNIP
  + _SWAP_DEVICES= /dev/sda7 /dev/sdb4
  + [ ! -b /dev/vd* ]
  + continue
  + grep -qs swap swap /root/etc/fstab.d/swap
  /init: line 1: can't create /root/etc/fstab.d/swap: nonexistent directory
  + echo /dev/sda7 swap swap defaults 0 0
  /init: line 1: can't create /root/etc/fstab.d/swap: nonexistent directory
  + echo /dev/sdb4 swap swap defaults 0 0`

However it still boots normally (because the important mounts do not rely on fstab) but "swap" does not work.
Having said that in my full-persistence setup (fstab.d present) swap still doesn't get activated, although there is now a seemingly correct file in fstab.d
fsmithred

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

## Re: wheezy-based refracta beta2 bugs, discuss, kudos, whatev

Thu Mar 21, 2013 7:01 pm

Done. Should that line (fstab.d/*) also be in the snapshot excludes?
dzz

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

## Re: wheezy-based refracta beta2 bugs, discuss, kudos, whatev

Fri Mar 22, 2013 3:02 am

> Done. Should that line (fstab.d/*) also be in the snapshot excludes?

Probably yes. Snapshot makes a live image which should be bootable on different machines with different hardware. Hardware configs specific to the machine it was made on should not exist in the snapshot (live-boot handles that)
I have not yet tested snapshot from an actual live session, in which case fstab.d could be populated and should not be copied over.
The real mystery at the moment is why wheezy fails to automount what actually is in fstab.d
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.