Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #236523
| From | David <bouncingcats@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Disklabel type |
| Date | 2021-06-27 13:00 +0200 |
| Message-ID | <CuAG6-2aZ-7@gated-at.bofh.it> (permalink) |
| References | <CuAG6-2aZ-9@gated-at.bofh.it> <CuAG7-2aZ-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, 27 Jun 2021 at 20:05, mick crane <mick.crane@gmail.com> wrote: > > I don't know what happened here. > Can I change the Disklabel without messing things up or is it necessary > ? > > root@pumpkin:~# fdisk /dev/sda > Disk /dev/sda: 223.57 GiB, 240057409536 bytes, 468862128 sectors > Disk model: KINGSTON SA400S3 > 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: 0x64b83d98 > > Device Boot Start End Sectors Size Id Type > /dev/sda1 * 2048 499711 497664 243M 83 Linux > /dev/sda2 501758 468860927 468359170 223.3G 5 Extended > /dev/sda5 501760 468860927 468359168 223.3G 8e Linux LVM > > > root@pumpkin:~# e2label /dev/sda > e2label: Bad magic number in super-block while trying to open /dev/sda > Found a dos partition table in /dev/sda You're trying to apply a *filesystem* label to a block *device*. That cannot work. It's hard to know what your goal is there, but perhaps 'e2label /dev/sda1' is what you actually want. The partition information above doesn't suggest any other possibilites that would succeed.
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
Re: Disklabel type David <bouncingcats@gmail.com> - 2021-06-27 13:00 +0200 Re: Disklabel type David <bouncingcats@gmail.com> - 2021-06-27 13:10 +0200
csiph-web