viking777 wrote:I'm very confused now (but it happens often!). You say you have been into boot/grub/menu.lst and tried to edit the file, yet the update-grub command says that you don't have any such file as boot/grub/menu.lst. If you could explain this it might go some way to solving the problem. Are you sure this isn't a typo (like menu.1st instead of menu.lst?)..
i copied and pasted into the terminal so i am sure that it isn't a mistake.i am confused as well.
here are the results from your commands:
mint@mint ~ $ sudo blkid -c /dev/null
/dev/sda1: UUID="8038E9E938E9DE62" TYPE="ntfs"
/dev/sda5: UUID="21a14d12-c6f8-422f-a491-b9ded6f9fb5b" TYPE="ext3"
/dev/sda6: TYPE="swap" UUID="a85f69c4-9243-4394-97b5-0e5a4321108b"
mint@mint ~ $ sudo su
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xace22e9e
Device Boot Start End Blocks Id System
/dev/sda1 * 1 10563 84847266 7 HPFS/NTFS
/dev/sda2 10564 19457 71441055 5 Extended
/dev/sda5 10564 19089 68485063+ 83 Linux
/dev/sda6 19090 19457 2955928+ 82 Linux swap / Solaris
mint mint # mkdir /media/test
mkdir: cannot create directory `/media/test': File exists
mint mint # mount -t ext3 -o dev /dev/sda5 /media/test
mount: /dev/sda5 already mounted or /media/test busy
mount: according to mtab, /dev/sda5 is already mounted on /media/test
mint mint # chroot /media/test
mint / # grub-install /dev/sda
/dev/sda: Not found or not a block device.
mint / #
this is the second time i tried the commands with slightly different outcomes,the first 3 commands worked,but mint / # grub-install /dev/sda didn't seem to work?
am i correct in using dev/sda5?
also you requested my menu.lst file.it may confuse the problems i am having,as when it originally stopped working it only had a one line command in it.i then used some commands of another one i had found of the net.which at least then i had some operating systems to choose from,even though none of them worked.do you still want me to try and paste it on here?