Quote:
Originally Posted by matsyuf
Hello
am still having trouble restoring my GRUB, the problem is that I cant find menu.lst because in boot i cant find grub in boot
root@ttyp1[boot]# ls
i think maybe my problem is editing menu.lst which i cant find coz in boot i dont have grub.
Please help
|
I think --from what you've said-- that you have GRUB installed on your second HDD, which seems to be the master drive on IDE channel 1. The problem is that your computer boots from the master drive, IDE channel 0.
The file menu.lst is located here on your
Debian root filesystem.
/boot/grub/menu.lst.
When you are in the system prompt while running Knoppix, you are in a RAM disk with a
Knoppix root filesystem. In order to locate your Debian filesystem you need to mount the correct partition --hdb1?--
Then at the Knoppix prompt, you should be able to issue this command
If that worked, and you are now in your Debian root partition, this command should show you all the normal Linux directories, /bin /boot /dev and all the rest:
If it looks something like this, you're getting close:
Code:
bash-3.2# ls -l
total 92
drwxr-xr-x 2 root root 4096 2008-04-04 14:05 bin
drwxr-xr-x 4 root root 4096 2008-04-04 14:05 boot
drwxr-xr-x 19 root root 0 2008-04-15 10:19 dev
drwxr-xr-x 47 root root 8192 2008-04-15 11:24 etc
drwxr-xr-x 4 root root 16 2008-04-04 22:01 home
drwxr-xr-x 6 root root 4096 2008-04-07 12:18 lib
drwxr-xr-x 5 root root 56 2008-04-15 10:19 media
drwxr-xr-x 39 root root 4096 2008-04-15 10:03 mnt
drwxr-xr-x 6 root root 32 2008-04-07 12:40 opt
dr-xr-xr-x 132 root root 0 2008-04-15 06:19 proc
drwxr-x--- 6 root root 4096 2008-04-15 10:28 root
drwxr-xr-x 2 root root 4096 2008-04-10 00:14 sbin
drwxr-xr-x 2 root root 1 2008-03-10 18:20 srv
drwxr-xr-x 12 root root 0 2008-04-15 06:19 sys
drwxrwxrwt 12 root root 4096 2008-04-15 13:01 tmp
drwxr-xr-x 12 root root 88 2008-04-10 00:19 usr
drwxr-xr-x 12 root root 88 2008-04-04 14:05 var
At this point
Will log you into the GRUB subdirectory of /boot. When you type ls -l again, you should see this, or something similar that lists GRUB files, including menu.lst
Code:
bash-3.2# ls -l
total 308
-rw-r--r-- 1 root root 8024 2008-03-18 06:15 e2fs_stage1_5
-rw-r--r-- 1 root root 7864 2008-03-18 06:15 fat_stage1_5
-rw-r--r-- 1 root root 7112 2008-03-18 06:15 ffs_stage1_5
-rw-r--r-- 1 root root 7108 2008-03-18 06:15 iso9660_stage1_5
-rw-r--r-- 1 root root 8576 2008-03-18 06:15 jfs_stage1_5
-rw-r--r-- 1 root root 1449 2008-04-06 18:18 menu.lst
-rw-r--r-- 1 root root 7296 2008-03-18 06:15 minix_stage1_5
-rw-r--r-- 1 root root 9604 2008-03-18 06:15 reiserfs_stage1_5
-rw-r--r-- 1 root root 512 2008-03-18 06:15 stage1
-rw-r--r-- 1 root root 100390 2008-03-18 06:15 stage2
-rw-r--r-- 1 root root 100390 2008-03-18 06:15 stage2_eltorito
-rw-r--r-- 1 root root 7452 2008-03-18 06:15 ufs2_stage1_5
-rw-r--r-- 1 root root 6680 2008-03-18 06:15 vstafs_stage1_5
-rw-r--r-- 1 root root 9264 2008-03-18 06:15 xfs_stage1_5
At this point, maybe you can get yancek's advice to work for you.
good luck,
SilverBear