Sponsored Content
Full Discussion: deleted all files - rm *
Top Forums UNIX for Advanced & Expert Users deleted all files - rm * Post 302378599 by fisfia on Tuesday 8th of December 2009 09:00:32 AM
Old 12-08-2009
Maybe he doesn't mean win is gone. He deleted Linux and now Win is still there but Grub is in the way when he tries to boot. That is how I understood the problem.

Try install/reinstall bootloader?

---------- Post updated at 03:00 PM ---------- Previous update was at 02:56 PM ----------

Yes you have to do that everytime probably becourse it doesn't look for boot at the right partition. When doing like that you swap it to the right place.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Retrieval of deleted files

We have a situation in a large dept of programmers where critical accounting data files were deleted. Is there any way in UNIX to trace deletions and or possibly retrieve the deleted file? (14 Replies)
Discussion started by: cgardiner
14 Replies

2. UNIX for Dummies Questions & Answers

restoring deleted files

I had a user run, by accident, the following line command on our UNIX server: rm -f /usr/* This apparently deleted some needed files on your system. Having very limited knowledge in UNIX, I thought I would ask the group if anyone knows how I can recover these file? The version of UNIX is... (3 Replies)
Discussion started by: mikem
3 Replies

3. AIX

recover deleted files

How to recover deleted files in AIX ? (1 Reply)
Discussion started by: vjm
1 Replies

4. Shell Programming and Scripting

Finding deleted files

One of the files got deleted and i want to find who deleted that file. I think we can get the list using history command. Could you please let me know how to get the list of rm commands from history and who previously logged in and did that? Any other suggestions other than history also... (2 Replies)
Discussion started by: Krrishv
2 Replies

5. UNIX for Dummies Questions & Answers

Retrieving deleted files

I mistakenly deleted a script from the UNIX server. Is there any command i can type that i will retrieve my script? (3 Replies)
Discussion started by: manna
3 Replies

6. Shell Programming and Scripting

how to restore the deleted files

hi, if i delete a file from /home/san/abc.cpp in linux/unix and i want to restore it back how to do that ? (3 Replies)
Discussion started by: mail2sant
3 Replies

7. UNIX for Dummies Questions & Answers

Any way to retrieve deleted files?

:eek: I accidently removed some files using 'rm'. Is there any way to retrieve these files if they were deleted through 'rm'? (1 Reply)
Discussion started by: orahi001
1 Replies

8. Linux

Need help with deleted files

Hello. I am having a problem and I was wondering if I could get some help from here. I changed into a directory with the cd command and I wanted to delete a folder and all of its subdirectories, so I went ahead and did a rm --recursive * in my current directory to realize that I was in the wrong... (3 Replies)
Discussion started by: jonnydadesigner
3 Replies

9. AIX

Who deleted my files

Just looking for some guidance on how to figure out who might have deleted some files off one of my systems. These files are not root owned files so could be deleted by a handful of folks in the group responsible for these files besides the root users. Anyway I have been tasked with trying to... (1 Reply)
Discussion started by: juredd1
1 Replies
GRUB-INSTALL(1) 					      General Commands Manual						   GRUB-INSTALL(1)

NAME
grub-install -- Install GRUB on a device. SYNOPSIS
grub-install [--modules=MODULES] [--install-modules=MODULES] [--themes=THEMES] [--fonts=FONTS] [--locales=LOCALES] [--compress[=no,xz,gz,lzo]] [-d | --directory=DIR] [--grub-mkimage=FILE] [--boot-directory=DIR] [--target=TARGET] [--grub-setup=FILE] [--grub-mkrelpath=FILE] [--grub-probe=FILE] [--allow-floppy] [--recheck] [--force] [--force-file-id] [--disk-module=MODULE] [--no-nvram] [--removable] [--bootloader-id=ID] [--efi-directory=DIR] INSTALL_DEVICE DESCRIPTION
grub-install installs GRUB onto a device. This includes copying GRUB images into the target directory (generally /boot/grub), and on some platforms may also include installing GRUB onto a boot sector. OPTIONS
--modules=MODULES Pre-load modules specified by MODULES. --install-modules=MODULES Install only MODULES and their dependencies. The default is to install all available modules. --themes=THEMES Install THEMES. The default is to install the starfield theme, if available. --fonts=FONTS Install FONTS. The default is to install the unicode font. --locales=LOCALES Install only locales listed in LOCALES. The default is to install all available locales. --compress=no,xz,gz,lzo Compress GRUB files using the specified compression algorithm. --directory=DIR Use images and modules in DIR. --grub-mkimage=FILE Use FILE as grub-mkimage. The default is /usr/bin/grub-mkimage. --boot-directory=DIR Use DIR as the boot directory. The default is /boot. GRUB will put its files in a subdirectory of this directory named grub. --target=TARGET Install GRUB for TARGET platform. The default is the platform grub-install is running on. --grub-setup=FILE Use FILE as grub-setup. The default is /usr/bin/grub-setup. --grub-mkrelpath=FILE Use FILE as grub-mkrelpath. The default is /usr/bin/grub-mkrelpath. --grub-probe=FILE Use FILE as grub-probe. The default is /usr/bin/grub-mkrelpath. --allow-floppy Make the device also bootable as a floppy. This option is the default for /dev/fdX devices. Some BIOSes will not boot images cre- ated with this option. --recheck Delete any existing device map and create a new one if necessary. --force Install even if problems are detected. --force-file-id Use identifier file even if UUID is available. --disk-module=MODULE Use MODULE for disk access. This allows you to manually specify either biosdisk or native disk access. This option is only avail- able on the BIOS target platform. --no-nvram Do not update the boot-device NVRAM variable. This option is only available on IEEE1275 target platforms. --removable Treat the target device as if it is removeable. This option is only available on the EFI target platform. --bootloader-id=ID Use ID as the bootloader ID. This opption is only available on the EFI target platform. --efi-directory=DIR Use DIR as the EFI System Partition root. This opption is only available on the EFI ta rget platform. INSTALL_DEVICE Install GRUB to the block device INSTALL_DEVICE. SEE ALSO
info grub Wed Feb 26 2014 GRUB-INSTALL(1)
All times are GMT -4. The time now is 01:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy