Posts Tagged ‘Linux’

Kernel boot parametres option for Super Grub2 Disk mockup

noviembre 28, 2014

Yet another mockup :).

So once you have selected which Kernel you want to from you can choose between different set of Kernel boot parametres:

  • Knoppix cheatcodes. Just in case you want to boot your installed Knoppix with those options.

    super grub2 disk boot parametres mockup knoppix

    super grub2 disk boot parametres mockup based on knoppix boot cheatcodes

  • Blacklist modules. This is very useful when trying to debug which module is making your system to crash or reboot at boot time.

    SG2D mockup - Blacklist modules

    SG2D mockup – Blacklist modules

  • Systemd target. Choose an specific systemd ‘runlevel’.

    SG2D mockup Systemd targets

    SG2D mockup Systemd targets

  • Miscelanea. Any other Kernel boot parametre.

    SG2D Kernel boot parametres mockup miscelanea

    SG2D Kernel boot parametres mockup miscelanea

  • Choose root partition. Just in case you want to try to boot your Debian GNU/Linux but trying to use Ubuntu kernel. Usually it might not work 100%, but it’s worth a try in some special circumstances.

    SG2D Boot parametre Mockup - Choose root partition

    SG2D Boot parametre Mockup – Choose root partition

I’m not interested in implementing it because I think not so many few people would use when trying to boot into their distro from Super Grub2 Disk. Maybe the blacklist option is the most useful one.

But it’s something I would maintain if I ever implemented it. Not like the Kernel box idea.

Do you use often use an specific boot parametre? Why?


Rescatux idea: Recovering Windows registry

agosto 15, 2013

I should add this idea to Rescatux ideas at Rescatux wiki but anyways I’m writing it here. What I’m going to describe is recovering or editing Windows registry from Gnu/Linux manually. Rescatux would be improved hopefully in 0.32 version to do this from a GUI and as automatically as possible.

Recover Windows Registry from Gnu/Linux

If you want to recover Windows registry from a former restore point you can just copy the registry file from the restore point folder to the current registry files. That’s as easy as that.

Restore point path is like this:

/media/windows/System Volume Information/_restore{xxx}/RPxxx/snapeshot/

and its files are:


which need to be copied and renamed to:



And you are advised to force a NTFS fix and reboot Windows twice thanks to:

sudo ntfsfix /dev/<device-name>

Don’t think it’s needed anymore with newer NTFS mount implementation in GNU/Linux but I’ll check that anyways.

There are also some other paths:


I have found this information in Ubuntu forums: HowTo: Fix Corrupted Windows Registry from Ubuntu partition . There’s even kind of proposed python script in the same thread.

I only need to make sure I backup the original registry files so that they can recovered them too if needed. Also, Rescatux should be able to restore these Rescatux backups.

The other idea is making a Windows registry editor in Gnu/Linux.

There is already chntpw which I use already in Rescatux for blanking Windows passwords. And that’s what it’s also advised in the same thread: Editing the registry .

So hacking chntpw I might be able to show in a GUI all the registry keys and let the user edit or remove them. Maybe running regedit.exe from WINE would also work but I’m not confident on this one.

And, even if making a GUI Windows registry editor for Gnu/Linux might be difficult (for chntpw hacking and GUI development itself) just detecting Windows registry viruses and fixing the Registry values to default ones should be straight-forward !!!


When you move a Windows machine to a Virtual system sometimes you need it to support IDE.

Just check: Proxmox Wiki – Migration of servers to Proxmox VE – Innaccessible boot device .

It’s a matter of adding a REG file that Microsoft advises to use. That’s just editing the registry and can be done with chntpw.

That would avoid headaches if you haven’t run it in the origin virtual or physical machine just before moving to the new virtual machine.

Possible new Rescatux options for Rescatux 0.32:

  • Recover Windows registry from Windows restore points
  • GUI for editing Windows registry
  • Windows Registry cleanup for some known Virus
  • Add IDE support to Windows system (Ideal for Virtual systems)

Additional notes

It seems that Reglookup is handy when serarching for Windows Registry registry keys and its included in Parted Magic.

Integrated Intel card in Mac Book Pro 6,2 in Linux Kernel 3.10

julio 27, 2013

As I already explained I finally managed to make work my Integrated intel card in my Debian when using kernel 3.2. I needed to patch the kernel and use some boot parametres to make it work.

But, as expected, Linux Kernel 3.10 without any special patch was not working. But it had to. Why? Because I had asked Seth Forsee about this.

It was not until today that I found the answer in an gentoo forum post: Intel graphics not working on Macbook Pro in EFI mode .

In my old setup I had the kernel parametres:

pcie_aspm=force video=efifb i915.lvds_channel=2
i915.modeset=1 i915.lvds_use_ssc=0
drm.debug=0x14 log_buf_len=16M

among other options which I haven’t modified. I had to modify i915.lvds_channel to be i915.lvds_channel_mode which seems it’s the final name for that option.

So now the default kernel parametres are:

pcie_aspm=force video=efifb i915.lvds_channel_mode=2
i915.modeset=1 i915.lvds_use_ssc=0
drm.debug=0x14 log_buf_len=16M


Apart from having to tap with three-finger to get the right-click instead of only two-finger tap everything seems to be ok.

Como arreglé red (nm-applet) en Kde al actualizar Debian Unstable Octubre 2011

octubre 27, 2011

La última actualización que hice de Debian Unstable sobre el 20 de Octubre de 2011 me dejo medio inservible el nm-applet.

Podía conectarme a las redes inalambricas que ya conocía pero no podía conectarme a redes nuevas ni añadir tampoco.

Tenía un error de permisos. Si ejecutaba manualmente nm-applet obtenía errores del tipo:

Failed to add/activate connection: (32) Insufficient privileges

Para arreglarlo hay que instalar:

apt-get install polkit-kde-1

Por lo visto la autorización paso de “Autorizar mediante sudo” a “Autorizar mediante root”. Si alguien sabe como revertir esto último que lo comente. Gracias.

Volcar stream radio a wav

octubre 6, 2010

Hace poco he tenido que volcar un stream de tipo wma emitido por mms.

El vlc no sé porqué no me lo abria así que intenté volcarlo con mplayer, más concretamente con su comando mencoder en mp3.

También me daba un error acerca de que el stream de video era obligatorio. ¿Obligatorio siendo una radio?

Después de batallar un poco con las opciones del mencoder me rendi a hacer una busqueda más generica en Internet de cómo volcar una radio y, bueno, ya que no se podia a mp3 a wav.

En: How to convert audio files de encontré el comando que necesitaba.

mplayer -quiet -vo null -vc dummy -ao pcm:waveheader:file="volcado.wav" \

Aqui lo apunto para cuando pueda volver a necesitarlo en el futuro.