venepasAzt írja az ls parancsra:
The Linux partition should be listed, as should any special partition such as a separate boot or home. Example: (hd0) (hd0,1) (hd1,5) In this example sda, sda1, sdb5 are recognized. For (hd1,5), the X value is 1 and the Y value is 5.
Hát nem tudom, az ls mióta listáz partíciókat, de mivel tudjuk, hogy erre az fdisk való, ezen ne akadjunk fel:
sudo fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1958 15727603+ 7 HPFS/NTFS
/dev/sda2 1959 38913 296841007 f W95 Ext'd (LBA)
/dev/sda5 1959 6634 37559938+ 7 HPFS/NTFS
/dev/sda6 6635 37218 245665948+ 83 Linux
/dev/sda7 37219 38499 10289601 83 Linux
/dev/sda8 38500 38913 3325423+ 82 Linux swap / Solaris
(Az sda6 a home, az sda7 a rendszer.)
mount
....
/dev/sda7 on /media/disk type ext4 (rw,nosuid,nodev,uhelper=hal)
....
Vissza a leíráshoz, értelemszerűen
root@ubuntu:/media/disk# configfile /media/disk/boot/grub/grub.cfg
bash: configfile: command not found
És ha a root számára sincsen configfile, akkor hogyan tovább...?