Tollef Fog Heen wrote:
> Can you please give me the contents of the file /proc/mounts ?
Yes, of course. Btw, there is also another bug if parameter to grub-installer shell script ends with slash (if I run grub-installer /target/), I think this problem in function update_mtab() from /usr/share/grub-installer/functions.sh
Should I report another bug about this ?
Now I'm pasting terminal output when I run grub-installer /target and then cat /proc/mounts :
root@baltix-linux:~# /usr/share/grub-installer/grub-installer /target
udevinfo: option requires an argument -- n
Usage: udevinfo [-anpqrVh]
-q TYPE query database for the specified value:
'name' name of device node 'symlink' pointing to node
'path' sysfs device path
'env' the device related imported environment
'all' all values
-p PATH sysfs device path used for query or chain
-n NAME node/symlink name used for query
-r print udev root
-a print all SYSFS_attributes along the device chain
-d print the relationship of devpath and the node name for all
devices available in the database
-V print udev version
-h print this help text
udevinfo: option requires an argument -- n
Usage: udevinfo [-anpqrVh]
-q TYPE query database for the specified value:
'name' name of device node 'symlink' pointing to node
'path' sysfs device path
'env' the device related imported environment
'all' all values
-p PATH sysfs device path used for query or chain
-n NAME node/symlink name used for query
-r print udev root
-a print all SYSFS_attributes along the device chain
-d print the relationship of devpath and the node name for all
devices available in the database
-V print udev version
-h print this help text
Reading package lists... Done
Building dependency tree... Done
grub is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: Couldn't stat source package list http://security.ubuntu.com breezy-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_breezy-security_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.ubuntu.com breezy-security/restricted Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_breezy-security_restricted_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
mount: proc already mounted
root@baltix-linux:~# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/hdb5 /cdrom ntfs ro,noatime,nodiratime,uid=0,gid=0,fmask=0177,dmask=077,nls=cp437,errors=continue,mft_zone_multiplier=1 0 0
/dev/mapper/casper-snapshot / ext2 rw,noatime 0 0
proc /proc proc rw,nodiratime 0 0
sysfs /sys sysfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
/dev/mapper/casper-snapshot /dev/.static/dev ext2 rw,noatime 0 0
none /dev tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
tmpfs /lib/modules/2.6.12-9-386/volatile tmpfs rw 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
/dev/hdb8 /target ext3 rw 0 0
none /target/dev tmpfs rw 0 0
proc /target/proc proc rw,nodiratime 0 0
root@baltix-linux:~#
Tollef Fog Heen wrote:
> Can you please give me the contents of the file /proc/mounts ?
Yes, of course. Btw, there is also another bug if parameter to grub-installer shell script ends with slash (if I run grub-installer /target/), I think this problem in function update_mtab() from /usr/share/ grub-installer/ functions. sh
Should I report another bug about this ?
Now I'm pasting terminal output when I run grub-installer /target and then cat /proc/mounts :
root@baltix- linux:~ # /usr/share/ grub-installer/ grub-installer /target
' symlink' pointing to node
udevinfo: option requires an argument -- n
Usage: udevinfo [-anpqrVh]
-q TYPE query database for the specified value:
'name' name of device node
'path' sysfs device path
'env' the device related imported environment
'all' all values
-p PATH sysfs device path used for query or chain
-n NAME node/symlink name used for query
-r print udev root
-a print all SYSFS_attributes along the device chain
-d print the relationship of devpath and the node name for all
devices available in the database
-V print udev version
-h print this help text
udevinfo: option requires an argument -- n
' symlink' pointing to node
Usage: udevinfo [-anpqrVh]
-q TYPE query database for the specified value:
'name' name of device node
'path' sysfs device path
'env' the device related imported environment
'all' all values
-p PATH sysfs device path used for query or chain
-n NAME node/symlink name used for query
-r print udev root
-a print all SYSFS_attributes along the device chain
-d print the relationship of devpath and the node name for all
devices available in the database
-V print udev version
-h print this help text
Reading package lists... Done security. ubuntu. com breezy- security/ main Packages (/var/lib/ apt/lists/ security. ubuntu. com_ubuntu_ dists_breezy- security_ main_binary- i386_Packages) - stat (2 No such file or directory) security. ubuntu. com breezy- security/ restricted Packages (/var/lib/ apt/lists/ security. ubuntu. com_ubuntu_ dists_breezy- security_ restricted_ binary- i386_Packages) - stat (2 No such file or directory) linux:~ # cat /proc/mounts nodiratime, uid=0,gid= 0,fmask= 0177,dmask= 077,nls= cp437,errors= continue, mft_zone_ multiplier= 1 0 0 casper- snapshot / ext2 rw,noatime 0 0 casper- snapshot /dev/.static/dev ext2 rw,noatime 0 0 2.6.12- 9-386/volatile tmpfs rw 0 0 fs/binfmt_ misc binfmt_misc rw 0 0 linux:~ #
Building dependency tree... Done
grub is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: Couldn't stat source package list http://
W: Couldn't stat source package list http://
W: You may want to run apt-get update to correct these problems
mount: proc already mounted
root@baltix-
rootfs / rootfs rw 0 0
/dev/hdb5 /cdrom ntfs ro,noatime,
/dev/mapper/
proc /proc proc rw,nodiratime 0 0
sysfs /sys sysfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
/dev/mapper/
none /dev tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
tmpfs /lib/modules/
tmpfs /tmp tmpfs rw,nosuid,nodev 0 0
none /proc/sys/
/dev/hdb8 /target ext3 rw 0 0
none /target/dev tmpfs rw 0 0
proc /target/proc proc rw,nodiratime 0 0
root@baltix-