help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

move/overwrite a file in Grub2 shell?


From: Jan Stefan
Subject: move/overwrite a file in Grub2 shell?
Date: Mon, 12 Apr 2010 12:11:32 -0500

On 4/9/ 2010  james edmondson address@hidden  wrote :

>----------------------------------------------------------------------------------------------------
> So my question is essentially, is there anyway to overwrite a file in the Grub2 shell? So far, I haven't been able to find anything in regard to do that.

Grub seems fine from your description. It is trying to boot a kernel.

 

Lets step away from Grub and back to Ubuntu for a sec.

The rest is off topic but may help james

 

There are plenty ways to fail a boot after Grub runs the kernel.

 

One of the best Ubuntu features is that a distro CD can be booted in the CD drive and run without changing your disk file system. It lets you fix boot problems.    

 

You must get an Ubuntu distribution disk on the web.

Check your PC bios to make sure it will boot from CD before the hard disk.

Boot the CD.

Select the Ubuntu that does not affect your disk.

Wait for it to boot.

See if your disk partition is already mounted.(mount)

If not, make a directory to mount it in (mkdir /x)

look in /dev to find your disk (ls /dev) most likely sda or hda

your partition is then /dev/hda6 or /dev/sda6

mount your partition (mount /dev/sda6 /x)

change directory to the mount point(/ )x directory

move and update files as needed.  

 

Good luck

Jan

  

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]