Code:
michael@UsbDrive:~$ sudo grub-mkconfig -o /boot/grub/grub.cfg
[sudo] password for michael:
sudo: grub-mkconfig: command not found
/boot/grub/grub.cfg does not exist ... i have a copy of it though
let me shed some more light. I'm using xubuntu 9.04 and i upgraded to grub2. It seemed to work for a while then i realized that when i edited the /etc/grub.d/40_custom and then did update-grub it would not update the /boot/grub/grub.cfg
so i deleted the file /boot/grub/grub/.cfg just to see if maybe grub would make another ? but that didnt happen. I think it made a new grub.cfg.new idk who or why that is there ?
if i type grub-install -v i still get v1.96 idk why ?
Code:
michael@UsbDrive:~$ sudo apt-get --purge remove grub2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package grub2 is not installed, so not removed
The following packages were automatically installed and are no longer required:
os-prober grub-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
michael@UsbDrive:~$ sudo apt-get install grub2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
grub-pc
Suggested packages:
desktop-base
The following NEW packages will be installed:
grub-pc grub2
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 1332kB/1341kB of archives.
After this operation, 4006kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://us.archive.ubuntu.com jaunty/main grub-pc 1.96+20080724-12ubuntu2 [1332kB]
Fetched 1332kB in 22s (58.5kB/s)
Preconfiguring packages ...
Selecting previously deselected package grub-pc.
(Reading database ... 130860 files and directories currently installed.)
Unpacking grub-pc (from .../grub-pc_1.96+20080724-12ubuntu2_i386.deb) ...
Selecting previously deselected package grub2.
Unpacking grub2 (from .../grub2_1.96+20080724-12ubuntu2_i386.deb) ...
Processing triggers for man-db ...
Setting up grub-pc (1.96+20080724-12ubuntu2) ...
Setting up grub2 (1.96+20080724-12ubuntu2) ...
michael@UsbDrive:~$ sudo cat /boot/grub/grub.cfg
cat: /boot/grub/grub.cfg: No such file or directory
Bookmarks