First, post your fdisk:
sudo fdisk -l
Code:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5827c934
Device Boot Start End Blocks Id System
/dev/sda1 1 122 979933+ 82 Linux swap / Solaris
/dev/sda3 * 654 2476 14643247+ 7 HPFS/NTFS
/dev/sda4 2477 4864 19181610 83 Linux
Then run this command:
sudo fsck /dev/sda2
Code:
ubuntu@ubuntu:~$ sudo fsck /dev/sda4
fsck 1.40.8 (13-Mar-2008)
e2fsck 1.40.8 (13-Mar-2008)
/dev/sda4: clean, 130875/1199520 files, 798782/4795402 blocks
ubuntu@ubuntu:~$
On /bootgrub/menu.lst, forgive my noobness, but I didn't intuitively know how to mount in a terminal, so I went to this: http://ubuntuforums.org/archive/index.php/t-647568.html which also was about displaying menu.lst, tried everything they tried, and kept getting error messages: [note: I also did find /boot/brug/menu.lst in the grub prompt, which didn't work.
Code:
find /boot/grub/menu.lst
find: /boot/grub: No such file or directory
ubuntu@ubuntu:~$ mount /boot/grub/menu.lst
mount: can't find /boot/grub/menu.lst in /etc/fstab or /etc/mtab
ubuntu@ubuntu:~$ grub
Probing devices to guess BIOS drives. This may take a long time.
ubuntu@ubuntu:~$ sudo mount /dev/sda4 ubuntu
mount: mount point ubuntu does not exist
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ sudo mount -t reiserfs /dev/sda4 ubuntu
mount: mount point ubuntu does not exist
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ sudo mkdir /ubuntu
ubuntu@ubuntu:~$ sudo mount -t reiserfs /dev/sda4 /ubuntu
mount: wrong fs type, bad option, bad superblock on /dev/sda4,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
ubuntu@ubuntu:~$ sudo mount -t proc none /ubuntu/proc
mount: mount point /ubuntu/proc does not exist
ubuntu@ubuntu:~$ sudo mount -o bind /dev /ubuntu/dev
mount: mount point /ubuntu/dev does not exist
ubuntu@ubuntu:~$ sudo chroot /ubuntu
chroot: cannot run command `/bin/bash': No such file or directory
ubuntu@ubuntu:~$ sudo update-grub
Searching for GRUB installation directory ...
No GRUB directory found. To create a template run 'mkdir /boot/grub' first. To install grub, install it manually or try the 'grub-install' command. ### Warning, grub-install is used to change your MBR. ###
ubuntu@ubuntu:~$
I also tried this:
Code:
ubuntu@ubuntu:~$ grub-install
install_device not specified.
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.
-h, --help print this message and exit
-v, --version print the version information and exit
--root-directory=DIR install GRUB images under the directory DIR
instead of the root directory
--grub-shell=FILE use FILE as the grub shell
--no-floppy do not probe any floppy drive
--force-lba force GRUB to use LBA mode even for a buggy
BIOS
--recheck probe a device map even if it already exists
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into the DIR/boot directory specfied by
--root-directory, and uses the grub shell to install grub into the boot
sector.
Report bugs to <bug-grub@gnu.org>.
but got scared off because I didn't know if I wanted it in root or DIR.
As for updating, I did update like a week ago, but am pretty sure I've used GRUB succesfully since then.
Thanks for your help so far.
Bookmarks