06-12-2011
Interestingly, creating a VM to test the recovery took longer than the recovery itself
Here's the steps:
- Boot from a Mint Live-CD or DVD
- Open a terminal, and become root (saves the hassle of always sudo'ing) by entering sudo su -
- Mount the root partition of your Mint install, eg mount /dev/sda1 /mnt
- Mount some important special filesystems: for fs in proc sys dev dev/pts; do mount --bind /$fs /mnt/$fs; done
- Switch into the original system: chroot /mnt /bin/bash
- Install the generic kernel: apt-get install linux-generic linux-image-generic
- Exit the chroot environment, unmount /mnt and anything below, and restart
- After you're back in your system, best reinstall the kernel, just in case.
Best of luck
This User Gave Thanks to pludi For This Post:
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I would like to have some details on menu.lst!!
the reason is ,if i am trying to add my own boot option where do i need to add it?
is it in menu.lst only or elsewere(am referring to unix os)
because i tried adding a unique boot option and it was not reflected when the system booted?... (8 Replies)
Discussion started by: wrapster
8 Replies
2. HP-UX
I've never really explored the options available in the boot firmware on our servers. Outside of needing to change boot device paths a few times for various reasons, I'm wondering what the implications are of turning off FASTBOOT. According to the man page for 'setboot', it seems that when... (1 Reply)
Discussion started by: deckard
1 Replies
3. Solaris
I was wondering if there was a way to boot from openboot from the dvd drive. I was thinking about imaging the dvd to a blank drive and going about it that way. I just need to do a flash install. (5 Replies)
Discussion started by: adelsin
5 Replies
4. Solaris
Is there any link/tutorial on loading Solaris kernel modules at boot time?? (0 Replies)
Discussion started by: unisolin
0 Replies
5. Boot Loaders
Hello,
I have kubuntu on my laptop and now I decided to switch to Windows 7. I made the bios settings properly (first choice is boot from cd\vd) but I see the error
" reboot and select proper Boot device or insert Boot media in select Boot device and press a key "
I have tried CD and... (0 Replies)
Discussion started by: rpf
0 Replies
6. UNIX for Dummies Questions & Answers
I compiled new kernel in linux 10.04 called linux-2.6.26.8-xenomai, it runs alongside the other kernel, but when I want to boot it I get an error message saying:
Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/sda5 does not exist.
After making the modules and headers
I made the... (4 Replies)
Discussion started by: mdop
4 Replies
7. Slackware
Slackware 14.0
Hi:
I once changed the smp kernel running in my system by another one in /boot. What I did was to relink /boot/System.map, /boot/vmlinuz and /boot/config. But I don't remember if I did something else. Would that alone be OK. (4 Replies)
Discussion started by: stf92
4 Replies
8. Linux
Hi everyone,
I am trying to prevent the ehci_hcd kernel module to load at boot time.
Here's what I've tried so far:
1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here):
2) Blacklisted the module by adding the following string to
3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies
info(4) Kernel Interfaces Manual info(4)
NAME
info - diskless client configuration information file
DESCRIPTION
The file is a POSIX shell sourceable file which contains parameter definitions used at boot time. Typically, it will be an empty file and
default values will be used for all parameters. Following is the list of parameters which can be defined in the file:
Specifies the IP address of the client's private root server. If this is not
specified, the client's private root server defaults to the boot server.
Specifies the pathname to the client's private root on the private root
server. If this is not specified, the client's private root path defaults to
Specifies the NFS mount options to mount the client's private root from
the private root server. If this is not specified, the mount options default to
Specifies the NFS mount options to mount the client's
directory from the boot server. If this is not specified, the mount options default to
Specifies whether NFS should be configured as primary swap. (NOTE: In
order to swap to NFS, a diskless kernel must be configured with tunable parameter set to 1.) If a diskless
machine has a local swap disk and swap to NFS is not desired, the parameter should be set to the value of 1
and the diskless kernel should be configured without setting to 1. If this parameter is not specified in
the file and the kernel tunable parameter is set to 1, then NFS will be configured as primary swap.
If not set, this parameter defaults to a value of 1, and results in the
removal of all swapfiles above the configured swap minimum (swap is specified in the client's when a disk-
less client boots. This ensures that extraneous swapfiles at boot time are removed, thus freeing disk
space. If is set to 0 in the file, removal of extra swapfiles is disabled. This may result in faster boot
times due to the time savings in creating additional swap files.
The file resides in the same directory as the client's kernel () on the boot server and is retrieved at boot time using command. By
default, when a diskless client is created, an empty file is placed in the client's kernel directory. This ensures that all parameters
revert to their default values (see above). If the file is not present, this is an error.
EXAMPLES
An example file is shown below:
FILES
info(4)