Автор Тема: проблема с загрузкой oc  (Прочитано 4889 раз)

Оффлайн diablo7177

  • Участник
  • *
  • Сообщений: 27
Re: проблема с загрузкой oc
« Ответ #30 : 03.11.2015 10:19:05 »
Минус забыл
так тоже самое.... [altlinux@localhost ~]$ su -
[root@localhost ~]#

Оффлайн berkut_174

  • Мастер
  • ***
  • Сообщений: 7 152
Re: проблема с загрузкой oc
« Ответ #31 : 03.11.2015 10:20:43 »
так тоже самое....
Да ну!? Внимательно прочли https://www.altlinux.org/Su ?
Теперь попробуйте:
umount /dev/sda2
fsck -fy /dev/sda2
Сноси Винду, переходи на Линукс ! :)

Оффлайн diablo7177

  • Участник
  • *
  • Сообщений: 27
Re: проблема с загрузкой oc
« Ответ #32 : 03.11.2015 10:21:27 »
Рутом нормально войдите:
su -

[altlinux@localhost ~]$ su -
[root@localhost ~]# umount /dev/sda2
umount: /dev/sda2: not mounted
[root@localhost ~]# fsck -fy /dev/sda2
fsck из util-linux 2.22.1
e2fsck 1.42.7 (21-Jan-2013)
/dev/sda2 is in use.
e2fsck: Cannot continue, aborting.


[root@localhost ~]#

Оффлайн berkut_174

  • Мастер
  • ***
  • Сообщений: 7 152
Re: проблема с загрузкой oc
« Ответ #33 : 03.11.2015 10:21:50 »
diablo7177
Пояснения: при переходе в режим суперпользователя командой su происходит просто вызов командного интерпретатора с правами root. При этом значения переменных окружения, в частности $PATH, остается таким же, как у пользователя. То есть в переменной $PATH не окажется каталогов /sbin, /usr/sbin, и без указания полного имени будут недоступны команды route, lilo, mkswap и другие.
Сноси Винду, переходи на Линукс ! :)

Оффлайн diablo7177

  • Участник
  • *
  • Сообщений: 27
Re: проблема с загрузкой oc
« Ответ #34 : 03.11.2015 10:23:20 »
так тоже самое....
Да ну!? Внимательно прочли https://www.altlinux.org/Su ?
Теперь попробуйте:
umount /dev/sda2
fsck -fy /dev/sda2

ну, да,да... лоханулся, простите)))

dango

  • Гость
Re: проблема с загрузкой oc
« Ответ #35 : 03.11.2015 10:27:41 »
/dev/sda2 is in use.
e2fsck: Cannot continue, aborting.
Не понял. sda2 read-only?

Оффлайн diablo7177

  • Участник
  • *
  • Сообщений: 27
Re: проблема с загрузкой oc
« Ответ #36 : 03.11.2015 10:34:04 »
/dev/sda2 is in use.
e2fsck: Cannot continue, aborting.
Не понял. sda2 read-only?

хороший вопрос))) понятия не имею!

dango

  • Гость
Re: проблема с загрузкой oc
« Ответ #37 : 03.11.2015 10:38:27 »
хороший вопрос))) понятия не имею!
Вопрос был риторический. А выложите сюда результат команды:
mount

Оффлайн diablo7177

  • Участник
  • *
  • Сообщений: 27
Re: проблема с загрузкой oc
« Ответ #38 : 03.11.2015 10:40:24 »
хороший вопрос))) понятия не имею!
Вопрос был риторический. А выложите сюда результат команды:
mount

[root@localhost ~]# mount
udevfs on /dev type devtmpfs (rw,relatime,size=8192k,nr_inodes=253206,mode=755)
/dev/sr0 on /image type iso9660 (ro,relatime)
/dev/loop0 on /.ro type squashfs (ro,relatime)
none on /.rw type tmpfs (rw,relatime,mode=755)
none on / type aufs (rw,relatime,si=eb47bb188ba66ac4)
proc on /proc type proc (rw,nosuid,noexec,relatime,gid=19)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=26,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,relatime)
tmpfs on /var/run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /var/lock type tmpfs (rw,nosuid,nodev,mode=755)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
[root@localhost ~]#


dango

  • Гость
Re: проблема с загрузкой oc
« Ответ #39 : 03.11.2015 11:07:57 »
Оставайтесь на линии. Идет поиск вариантов решения :-)

dango

  • Гость
Re: проблема с загрузкой oc
« Ответ #40 : 03.11.2015 11:09:41 »
cat /proc/mounts | grep sda2
« Последнее редактирование: 03.11.2015 11:13:29 от dango »

dango

  • Гость
Re: проблема с загрузкой oc
« Ответ #41 : 03.11.2015 11:15:59 »
Похоже на неисправность HDD.

Оффлайн berkut_174

  • Мастер
  • ***
  • Сообщений: 7 152
Re: проблема с загрузкой oc
« Ответ #42 : 03.11.2015 11:24:09 »
Я бы через Victoria в DOS загрузился и посмотрел.

Может в SMART чего интересного:
smartctl -a /dev/sda
Сноси Винду, переходи на Линукс ! :)

Оффлайн diablo7177

  • Участник
  • *
  • Сообщений: 27
Re: проблема с загрузкой oc
« Ответ #43 : 03.11.2015 11:24:28 »
cat /proc/mounts | grep sda2

[root@localhost ~]# cat /proc/mounts
udevfs /dev devtmpfs rw,relatime,size=8192k,nr_inodes=253206,mode=755 0 0
/dev/sr0 /image iso9660 ro,relatime 0 0
/dev/loop0 /.ro squashfs ro,relatime 0 0
none /.rw tmpfs rw,relatime,mode=755 0 0
none / aufs rw,relatime,si=eb47bb188ba66ac4 0 0
proc /proc proc rw,nosuid,noexec,relatime,gid=19 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0
tmpfs /sys/fs/cgroup tmpfs rw,nosuid,nodev,noexec,mode=755 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/net_cls cgroup rw,nosuid,nodev,noexec,relatime,net_cls 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=26,pgrp=1,timeout=300,minproto=5,maxproto=5,direct 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0
mqueue /dev/mqueue mqueue rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
tmpfs /tmp tmpfs rw,nosuid,relatime 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,mode=755 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,mode=755 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
[root@localhost ~]#

Оффлайн diablo7177

  • Участник
  • *
  • Сообщений: 27
Re: проблема с загрузкой oc
« Ответ #44 : 03.11.2015 11:27:15 »
Я бы через Victoria в DOS загрузился и посмотрел.

Может в SMART чего интересного:
smartctl -a /dev/sda

[altlinux@localhost ~]$ su -
[root@localhost ~]# smartctl -a /dev/sda
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.14.41-std-def-alt1] (ALT Linux 6.2-alt0.M70P.1)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.11
Device Model:     ST3500320AS
Serial Number:    9QM3FVN0
LU WWN Device Id: 5 000c50 00cc6d116
Firmware Version: SD15
User Capacity:    500 107 862 016 bytes [500 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 2.6, 1.5 Gb/s
Local Time is:    Tue Nov  3 14:28:54 2015 MSK

==> WARNING: There are known problems with these drives,
THIS DRIVE MAY OR MAY NOT BE AFFECTED,
see the following web pages for details:
http://knowledge.seagate.com/articles/en_US/FAQ/207931en
http://knowledge.seagate.com/articles/en_US/FAQ/207951en
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632758

SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)   Offline data collection activity
               was completed without error.
               Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)   The previous self-test routine completed
               without error or no self-test has ever
               been run.
Total time to complete Offline
data collection:       (  634) seconds.
Offline data collection
capabilities:           (0x7b) SMART execute Offline immediate.
               Auto Offline data collection on/off support.
               Suspend Offline collection upon new
               command.
               Offline surface scan supported.
               Self-test supported.
               Conveyance Self-test supported.
               Selective Self-test supported.
SMART capabilities:            (0x0003)   Saves SMART data before entering
               power-saving mode.
               Supports SMART auto save timer.
Error logging capability:        (0x01)   Error logging supported.
               General Purpose Logging supported.
Short self-test routine
recommended polling time:     (   1) minutes.
Extended self-test routine
recommended polling time:     ( 116) minutes.
Conveyance self-test routine
recommended polling time:     (   2) minutes.
SCT capabilities:           (0x103b)   SCT Status supported.
               SCT Error Recovery Control supported.
               SCT Feature Control supported.
               SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   097   097   006    Pre-fail  Always       -       188975953
  3 Spin_Up_Time            0x0003   094   094   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   099   099   020    Old_age   Always       -       1297
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       413
  7 Seek_Error_Rate         0x000f   079   060   030    Pre-fail  Always       -       89394082
  9 Power_On_Hours          0x0032   081   081   000    Old_age   Always       -       17103
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       4
 12 Power_Cycle_Count       0x0032   099   099   020    Old_age   Always       -       1291
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   001   001   000    Old_age   Always       -       132
188 Command_Timeout         0x0032   099   096   000    Old_age   Always       -       51540394142
189 High_Fly_Writes         0x003a   001   001   000    Old_age   Always       -       156
190 Airflow_Temperature_Cel 0x0022   059   050   045    Old_age   Always       -       41 (Min/Max 21/41)
194 Temperature_Celsius     0x0022   041   050   000    Old_age   Always       -       41 (0 11 0 0 0)
195 Hardware_ECC_Recovered  0x001a   024   018   000    Old_age   Always       -       188975953
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       1
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       1
199 UDMA_CRC_Error_Count    0x003e   200   044   000    Old_age   Always       -       22221

SMART Error Log Version: 1
ATA Error Count: 132 (device log contains only the most recent five errors)
   CR = Command Register [HEX]
   FR = Features Register [HEX]
   SC = Sector Count Register [HEX]
   SN = Sector Number Register [HEX]
   CL = Cylinder Low Register [HEX]
   CH = Cylinder High Register [HEX]
   DH = Device/Head Register [HEX]
   DC = Device Command Register [HEX]
   ER = Error register [HEX]
   ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 132 occurred at disk power-on lifetime: 17099 hours (712 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 08 ff ff ff ef 00      00:00:35.906  READ DMA EXT
  c8 00 08 20 32 ff e0 00      00:00:35.905  READ DMA
  27 00 00 00 00 00 e0 00      00:00:35.905  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 a0 00      00:00:35.897  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      00:00:35.889  SET FEATURES [Set transfer mode]

Error 131 occurred at disk power-on lifetime: 17099 hours (712 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 20 ff ff ff ef 00      00:00:32.959  READ DMA EXT
  25 00 08 ff ff ff ef 00      00:00:32.959  READ DMA EXT
  25 00 20 ff ff ff ef 00      00:00:32.956  READ DMA EXT
  25 00 08 ff ff ff ef 00      00:00:32.950  READ DMA EXT
  25 00 20 ff ff ff ef 00      00:00:32.946  READ DMA EXT

Error 130 occurred at disk power-on lifetime: 17097 hours (712 days + 9 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 08 ff ff ff ef 00      03:41:16.679  READ DMA EXT
  c8 00 08 20 32 ff e0 00      03:41:16.679  READ DMA
  27 00 00 00 00 00 e0 00      03:41:16.678  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 a0 00      03:41:16.670  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      03:41:16.663  SET FEATURES [Set transfer mode]

Error 129 occurred at disk power-on lifetime: 17097 hours (712 days + 9 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 00 ff ff ff ef 00      03:41:13.735  READ DMA EXT
  25 00 00 ff ff ff ef 00      03:41:13.733  READ DMA EXT
  25 00 20 ff ff ff ef 00      03:41:13.728  READ DMA EXT
  25 00 08 ff ff ff ef 00      03:41:13.727  READ DMA EXT
  25 00 20 ff ff ff ef 00      03:41:13.724  READ DMA EXT

Error 128 occurred at disk power-on lifetime: 17097 hours (712 days + 9 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 08 ff ff ff ef 00      03:40:04.052  READ DMA EXT
  c8 00 f0 18 35 be e0 00      03:40:04.051  READ DMA
  c8 00 08 10 35 be e0 00      03:40:04.051  READ DMA
  27 00 00 00 00 00 e0 00      03:40:04.050  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 a0 00      03:40:04.042  IDENTIFY DEVICE

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

[root@localhost ~]#