LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-31-2013, 06:53 PM   #16
bracca
LQ Newbie
 
Registered: Jul 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled

well, it's installing. I will update when done.

Thank you all so much.

This is gonna be fun!
 
Old 07-31-2013, 07:21 PM   #17
bracca
LQ Newbie
 
Registered: Jul 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
well, it's done. And it worked. I booted from the USB flash drive, entered my passphrase.

Does this look right for the command
fdisk -l
:

Code:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000cde07

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048   625141759   312569856   83  Linux

Disk /dev/sdf: 2021 MB, 2021654016 bytes
168 heads, 50 sectors/track, 470 cylinders, total 3948543 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0007d71c

   Device Boot      Start         End      Blocks   Id  System
/dev/sdf1   *        2048     3946495     1972224   83  Linux

Disk /dev/mapper/sda1_crypt: 320.1 GB, 320069435392 bytes
255 heads, 63 sectors/track, 38912 cylinders, total 625135616 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/sda1_crypt doesn't contain a valid partition table
 
Old 07-31-2013, 07:25 PM   #18
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 67
Yup. A nice way to see your block devices and file systems is:

Code:
$ lsblk
$ findmnt
 
Old 07-31-2013, 07:49 PM   #19
bracca
LQ Newbie
 
Registered: Jul 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
yes, very nice hierarchical way to look at it. Thank you, Meson.

Now how to read this

Code:
NAME                  MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                     8:0    0 298.1G  0 disk  
└─sda1                  8:1    0 298.1G  0 part  
  └─sda1_crypt (dm-0) 252:0    0 298.1G  0 crypt /
sdf                     8:80   1   1.9G  0 disk  
└─sdf1                  8:81   1   1.9G  0 part  /boot
sr0                    11:0    1  1024M  0 rom
sda is the name of the physical hard disk device.
sda1 is a partition
sda1_crypt is an ?encrypted block? at the root of the sda1 partition?
 
Old 07-31-2013, 08:29 PM   #20
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 67
Not quite, sda1_crypt is the mapped block device on top of the entire sda1. There are a few device mappers in Linux and they translate between two block devices.

Also, you may have to install tree, but it's also nice way (and in general) to view this stuff if you have PARTLABELs and LABELs set for your partitions and file systems.

Code:
$ tree /dev/disk
 
Old 07-31-2013, 08:47 PM   #21
bracca
LQ Newbie
 
Registered: Jul 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
Meson,

You have been so helpful.

Thank you,
Bert
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot encrypted LVM with USB flash drive? STDOUBT Slackware 8 11-30-2011 10:07 PM
encrypted wireless on unencrypted network fisheromen1031 Linux - Wireless Networking 7 09-03-2008 11:09 PM
fedora9 install can't overwrite an encrypted disk even unencrypted steve02169 Fedora - Installation 1 07-04-2008 06:06 PM
How do I install a bootloader to a USB Flash Drive? pxumsgdxpcvjm Linux - General 6 04-06-2008 09:55 AM
Installation on usb flash drive impeteperry Puppy 6 12-23-2007 05:55 AM


All times are GMT -5. The time now is 01:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration