Перейти к содержанию

/sia

Members
  • Постов

    8
  • Зарегистрирован

  • Посещение

    Никогда

Contact Methods

  • ICQ
    74456864
  • Yahoo
    skptsv

Достижения /sia

  1. [root@localhost ~]# sfdisk sfdisk version 3.07 (aeb@cwi.nl, 990908) Usage: sfdisk [options] device ... device: something like /dev/hda or /dev/sda useful options: -s [or --show-size]: list size of a partition -c [or --id]: print or change partition Id -l [or --list]: list partitions of each device -d [or --dump]: idem, but in a format suitable for later input -i [or --increment]: number cylinders etc. from 1 instead of from 0 -uS, -uB, -uC, -uM: accept/report in units of sectors/blocks/cylinders/MB -T [or --list-types]:list the known partition types -D [or --DOS]: for DOS-compatibility: waste a little space -R [or --re-read]: make kernel reread partition table -N# : change only the partition with number # -n : do not actually write to disk -O file : save the sectors that will be overwritten to file -I file : restore these sectors again -v [or --version]: print version -? [or --help]: print this message dangerous options: -g [or --show-geometry]: print the kernel's idea of the geometry -x [or --show-extended]: also list extended partitions on output or expect descriptors for them on input -L [or --Linux]: do not complain about things irrelevant for Linux -q [or --quiet]: suppress warning messages You can override the detected geometry using: -C# [or --cylinders #]:set the number of cylinders to use -H# [or --heads #]: set the number of heads to use -S# [or --sectors #]: set the number of sectors to use You can disable all consistency checking with: -f [or --force]: do what I say, even if it is stupid ----------- root@localhost ~]# fdisk /dev/hda The number of cylinders for this disk is set to 2434. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): m Command action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition l list known partition types m print this menu n add a new partition o create a new empty DOS partition table p print the partition table q quit without saving changes s create a new empty Sun disklabel t change a partition's system id u change display/entry units v verify the partition table w write table to disk and exit x extra functionality (experts only) Command (m for help): ------------ Каким образом с помощию этих порограм можно перересайзить раздел hdа2 без потери данных? Приведите пожалуйста пример. Заранее благодарен.
  2. Какой программой можно воспользоваться для изменения уже сущевствующего раздела ext3? Хочется найти бесплатную (свободно распостроняемую) программу. --------- Заранее благодарен.
  3. Собственно сабж... qtparted в принципе не может перересайзить раздел ext3, информация получена на официальном сайте http://qtparted.sourceforge.net/features.en.html --------- Спасибо всем кто мне помогал.
  4. [root@localhost ~]# fdisk -l /dev/hda Disk /dev/hda: 20.0 GB, 20020396032 bytes 255 heads, 63 sectors/track, 2434 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 13 104391 83 Linux /dev/hda2 14 2434 19446682+ 8e Linux LVM [root@localhost ~]# fdisk -l /dev/hdb [root@localhost ~]# fdisk -l /dev/hdc [root@localhost ~]# -------- Я понял, что у меня всё лежит на hda. Но не понял почему qtparted не позволяет мне изменить размер hda2, этот пунт меню просто недоступен, возможно только "форматировать" или "удалить". Если выбрать в меню свойства раздела hda2 то открывается окно с надписью: "Это ???????? раздел. он начинается с 101.975 и заканчивается 19092.9 он может быть увеличен влево на 101.975 и вправо на 19092.9 файловая система unknown" Про hda1 пишет тоже самое тока цифры понятное дело другие.
  5. Ну, FC3 то где-то стоит. Или она может стоять а hdc может отсутствовать? Если это так, то что делать? Ставил с настройками по умолчанию, тоесть хард разбивался и форматился программой установки FC3, больше с ним ничего не делалл. Система стоит и работает нормально (грузится понятное дело с харда). ---- Видимо я чего то не понимаю (не знаю), подскажите плс...
  6. [root@localhost ~]# cat /proc/mounts rootfs / rootfs rw 0 0 /proc /proc proc rw,nodiratime 0 0 none /dev tmpfs rw 0 0 /dev/root / ext3 rw 0 0 none /dev tmpfs rw 0 0 none /selinux selinuxfs rw 0 0 /proc /proc proc rw,nodiratime 0 0 /proc/bus/usb /proc/bus/usb usbfs rw 0 0 /sys /sys sysfs rw 0 0 none /dev/pts devpts rw 0 0 /dev/hda1 /boot ext3 rw 0 0 none /dev/shm tmpfs rw 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0 [root@localhost ~]# -------- Вот оно.....
  7. [root@localhost ~]# umount /dev/hdc; e2fsck /dev/hdc umount: /dev/hdc: not mounted e2fsck 1.35 (28-Feb-2004) e2fsck: No medium found while trying to open /dev/hdc The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> [root@localhost ~]# ------- Не помогает.
  8. [root@localhost ~]# qtparted Warning: Unable to open /dev/hdc read-write (Read-only file system). /dev/hdc has been opened read-only. Error: Filesystem was not cleanly unmounted! You should e2fsck. Modifying an unclean filesystem could cause severe corruption. Error: Не удается определить файловую систему. [root@localhost ~]# ------------ Вот такая беда. qtparted запускается но размер партиции изменить не даёт, только форматирование доступно в меню. Что делать? Куда смотреть? Стоит FC3.
×
×
  • Создать...