Ok, here is the results from "fdisk." Sda is the original OS, sdb is the storage, sdc is the SD card, sdd is the flash drive I use as a Live CD.
Code:
255 heads, 63 sectors/track, 490 cylinders, total 7880544 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xfb38fb38
Device Boot Start End Blocks Id System
/dev/sda1 * 63 6425999 3212968+ 83 Linux
/dev/sda2 6426000 7839719 706860 83 Linux
/dev/sda3 7839720 7855784 8032+ c W95 FAT32 (LBA)
/dev/sda4 7855785 7871849 8032+ ef EFI (FAT-12/16/32)
Disk /dev/sdb: 16.1 GB, 16139354112 bytes
255 heads, 63 sectors/track, 1962 cylinders, total 31522176 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xf26d47c4
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 31519529 15759733+ 83 Linux
Disk /dev/sdc: 4075 MB, 4075290624 bytes
255 heads, 63 sectors/track, 495 cylinders, total 7959552 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x0001aee8
Device Boot Start End Blocks Id System
/dev/sdc1 63 7502354 3751146 83 Linux
/dev/sdc2 7502355 7952174 224910 5 Extended
/dev/sdc5 7502418 7952174 224878+ 82 Linux swap / Solaris
Disk /dev/sdd: 8019 MB, 8019509248 bytes
20 heads, 16 sectors/track, 48947 cylinders, total 15663104 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xc3072e18
Device Boot Start End Blocks Id System
/dev/sdd1 * 80 15663103 7831512 c W95 FAT32 (LBA)
Here is the results from the other command. I don't know if I entered the first one correctly.
Code:
ubuntu@ubuntu:~$ sudo mount /dev/sbc /mnt ls -l /mnt/boot cat /mnt/boot/grub/menu.lst
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
ubuntu@ubuntu:~$ sudo blkid
/dev/sda1: LABEL="SYSTEM" UUID="15fb1bc0-1a9d-448f-8f49-e01dcc163a24" TYPE="ext2"
/dev/sda2: LABEL="USER" UUID="c1402c2d-53fb-491d-9b8e-15eb1c253a4f" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: SEC_TYPE="msdos" LABEL="BIOS" UUID="4861-2962" TYPE="vfat"
/dev/sdb1: LABEL="HOME" UUID="aac780c4-5c91-4b85-bcb6-e2d99d76c605" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdc1: UUID="08dece0d-4d7d-4fe7-bc9f-d691a014c6c8" TYPE="ext3"
/dev/sdc5: TYPE="swap" UUID="71350b6c-72e8-49f1-be27-237ce3e26b2d"
/dev/sdd1: LABEL="VANCE-2" UUID="40C3-25B3" TYPE="vfat"
/dev/loop0: TYPE="squashfs"
Bookmarks