Open ch0mik opened 5 years ago
@ch0mik you've been running swap on an SSD?
Better go run smartctl on it, it's probably in a ro only state.
PSA: all my jetson's are dead or not bootable...
Regards,
hmmm ... after installation, the /dev/sda is not visible. I run installation again. P.
I cant make partition on SDD/HDD disk. During installation Debian or post installation :
`=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2018.12.09 13:30:52 =~=~=~=~=~=~=~=~=~=~=~= login as: sq7mru sq7mru@192.168.1.119's password: Linux jetsontk1 4.9.119-armv7-lpae-x8 #1 SMP PREEMPT Fri Aug 17 02:07:34 UTC 2018 armv7l
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sun Dec 9 13:16:57 2018 from 192.168.1.155
sq7mru@jetsontk1:~$ sudo su - [sudo] password for sq7mru: root@jetsontk1:~# login as: sq7mrufdisk /dev/sda
Welcome to fdisk (util-linux 2.29.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command.
Device does not contain a recognized partition table. Created a new DOS disklabel with disk identifier 0xcfddab3f.
Command (m for help): p; Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 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 Disklabel type: dos Disk identifier: 0xcfddab3f
Command (m for help): n Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) Select (default p): o p Partition number (1-4, default 1): First sector (2048-234441647, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-234441647, default 234441647): 230000000
Created a new partition 1 of type 'Linux' and of size 109.7 GiB.
Command (m for help): n Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) Select (default p): p Partition number (2-4, default 2): First sector (230000001-234441647, default 230000640): Last sector, +sectors or +size{K,M,G,T,P} (230000640-234441647, default 234441647):
Created a new partition 2 of type 'Linux' and of size 2.1 GiB. Partition #2 contains a swap signature.
Do you want to remove the signature? [Y]es/[N]o: n
Command (m for help): p
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 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 Disklabel type: dos Disk identifier: 0xcfddab3f
Device Boot Start End Sectors Size Id Type /dev/sda1 2048 230000000 229997953 109.7G 83 Linux /dev/sda2 230000640 234441647 4441008 2.1G 83 Linux
Command (m for help): w The partition table has been altered. Calling ioctl() to re-read partition table. Syncing disks.
root@jetsontk1:~# fdisk /dev/sda
Welcome to fdisk (util-linux 2.29.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command.
Command (m for help): p Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 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 Disklabel type: dos Disk identifier: 0xcfddab3f
Device Boot Start End Sectors Size Id Type /dev/sda1 2048 230000000 229997953 109.7G 83 Linux /dev/sda2 230000640 234441647 4441008 2.1G 83 Linux /dev/sda3 0 0 0 0B 0 Empty
Partition table entries are not in disk order.
Command (m for help): q
root@jetsontk1:~# fdisk /dev/sdalogin as: sq7mrufdisk /dev/sdamount -o rw /dev/sda1 /mnt root@jetsontk1:~# mkfs.ext2 /dev/sda1swap /dev/sda2 mkswap: /dev/sda2: warning: wiping old swap signature. Setting up swapspace version 1, size = 2.1 GiB (2273792000 bytes) no label, UUID=95c8c3e1-ab5f-40a0-b98c-a4da5ce1afae root@jetsontk1:~# mkswap /dev/sda2fdisk /dev/sdalogin as: sq7mrufdisk /dev/sdamount -o rw /dev/sda1 /mnt root@jetsontk1:~# mkfs.ext2 /dev/sda1swap /dev/sda2fs.ext4 /dev/sda1 mke2fs 1.43.4 (31-Jan-2017) Discarding device blocks: 4096/28749744 done
Creating filesystem with 28749744 4k blocks and 7192576 inodes Filesystem UUID: c28f299b-2781-47e0-8972-bc95c133ffce Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872
Allocating group tables: 0/878 done
Writing inode tables: 0/878 done
Creating journal (131072 blocks): done Writing superblocks and filesystem accounting information: 0/878 done
root@jetsontk1:~# mkfs.ext4 /dev/sda1swap /dev/sda2fdisk /dev/sda
Welcome to fdisk (util-linux 2.29.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command.
Device does not contain a recognized partition table. Created a new DOS disklabel with disk identifier 0x0cc632bb.
Command (m for help): p Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 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 Disklabel type: dos Disk identifier: 0x0cc632bb
Command (m for help): `