Автор Тема: Проблем с gparted  (Прочетена 9675 пъти)

_NetCutter_

  • Напреднали
  • *****
  • Публикации: 513
    • Профил
Проблем с gparted
« Отговор #30 -: Oct 02, 2006, 19:28 »
Е пак не стана
Ето как ми изглежда fstab-a:
Примерен код
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda8       none            swap    sw              0       0
/dev/hda1       /media/hda1     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
/dev/hda5       /media/hda5     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
/dev/hda6       /media/hda6     ext3    defaults        0       2
/dev/hda7       /               ext3    defaults,errors=remount-ro 0       1
/dev/hdb        /media/cdrom0   udf,iso9660 user,noauto     0       0

Ерора е същият!
Ето и  fdisk -l:
Примерен код
ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        2550    20482843+   7  HPFS/NTFS
/dev/hda2            2551       10011    59930482+   f  W95 Ext'd (LBA)
/dev/hda5            2551        4763    17775891    7  HPFS/NTFS
/dev/hda6            4764        9077    34652173+  83  Linux
/dev/hda7            9078        9946     6980211   83  Linux
/dev/hda8            9947       10011      522081   82  Linux swap / Solaris
ubuntu@ubuntu:~$

Забелязах също, че като boot дял е посочен /dev/hda1!
Как да направя да е /dev/hda7 '<img'>
Мисля че това ще оправи нещата '<img'>
едит: От шльоковица на кирилица.



Активен

Linux - Connecting People!

_NetCutter_

  • Напреднали
  • *****
  • Публикации: 513
    • Профил
Проблем с gparted
« Отговор #31 -: Oct 02, 2006, 20:27 »
Айде дееее. . .никой ли не моеюже да ми отговори?
Сори че толкова бързам, ама какво да направя?

едит: фром шлиоковица ту кирилица  '<img'>



Активен

Linux - Connecting People!

GoodT

  • Напреднали
  • *****
  • Публикации: 361
    • Профил
Проблем с gparted
« Отговор #32 -: Oct 02, 2006, 21:32 »
Какво стана бе момък, много си се забатачил '<img'>
От последния ти пост изтрии от fstab-a, от реда за /dev/hda7 : errors=remount-ro
Да остане: /dev/hda7       /               ext3    defaults   1       1

В menu.lst:
splashimage=(hd0,6)/boot/grub/splash.xpm.gz

title Ubuntu-FENIX
root (hd0,6)
kernel /boot/vmlinuz-2.6.15-27-386 ro root=/
initrd /boot/initrd.img-2.6.15-27-386
Активен

_NetCutter_

  • Напреднали
  • *****
  • Публикации: 513
    • Профил
Проблем с gparted
« Отговор #33 -: Oct 02, 2006, 21:46 »
Цитат (GoodT @ Окт. 02 2006,21:32)
splashimage=(hd0,6)/boot/grub/splash.xpm.gz

Това къде да го сложа?

едит:кирилица



Активен

Linux - Connecting People!

saejoh

  • Напреднали
  • *****
  • Публикации: 271
    • Профил
Проблем с gparted
« Отговор #34 -: Oct 02, 2006, 22:01 »
Цитат (_NetCutter_ @ Окт. 02 2006,21:46)
Цитат на: GoodT,Окт. 02 2006,21:32
splashimage=(hd0,6)/boot/grub/splash.xpm.gz

Tova kade da go sloja!? Put it in menu.lst
Anyway, have you ever read this usefull documentation ? '<img'>



Активен

SUSE Linux, Ath XP 1700+, Biostar M7NCG, More pictures at http://www.snimka.bg/album.php?album_id=20268

_NetCutter_

  • Напреднали
  • *****
  • Публикации: 513
    • Профил
Проблем с gparted
« Отговор #35 -: Oct 02, 2006, 22:01 »
btw проблем ли е ако няма такъв файл?:
/boot/grub/splash.xpm.gz ?



Активен

Linux - Connecting People!

GoodT

  • Напреднали
  • *****
  • Публикации: 361
    • Профил
Проблем с gparted
« Отговор #36 -: Oct 02, 2006, 22:03 »
Да. Това е картинката на gruba (по принцип).
Пробвай без този ред.



Активен

_NetCutter_

  • Напреднали
  • *****
  • Публикации: 513
    • Профил
Проблем с gparted
« Отговор #37 -: Oct 02, 2006, 22:17 »
Пак не става брачте!!!
Да обобщим:
/boot/grub/menu.lst:
Примерен код
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default      0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout      10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title      Windows 95/98/NT/2000
# root      (hd0,0)
# makeactive
# chainloader   +1
#
# title      Linux
# root      (hd0,1)
# kernel   /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hda8 ro

##default grub root device
#e.g. groot=(hd0,0)
#groot=(hd0,6)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
#root=/dev/hda7 ro quiet splash
## ## End Default Options ##

title      Ubuntu, kernel 2.6.15-27-386
root      (hd0,6)
kernel      /boot/vmlinuz-2.6.15-27-386 ro root=/
initrd      /boot/initrd.img-2.6.15-27-386
savedefault
boot

title      Ubuntu, kernel 2.6.15-27-386 (recovery mode)
root      (hd0,7)
kernel      /boot/vmlinuz-2.6.15-27-386 root=/dev/hda7 ro single
initrd      /boot/initrd.img-2.6.15-27-386
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title      Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title      Microsoft Windows XP Professional
root      (hd0,0)
savedefault
makeactive
chainloader   +1


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda6.
title      Ubuntu, kernel 2.6.15-26-386 (on /dev/hda6)
root      (hd0,5)
kernel      /boot/vmlinuz-2.6.15-26-386 root=/dev/hda6 ro quiet splash
initrd      /boot/initrd.img-2.6.15-26-386
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda6.
title      Ubuntu, kernel 2.6.15-26-386 (recovery mode) (on /dev/hda6)
root      (hd0,5)
kernel      /boot/vmlinuz-2.6.15-26-386 root=/dev/hda6 ro single
initrd      /boot/initrd.img-2.6.15-26-386
savedefault
boot

/etc/fstab:
Примерен код
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda7       /               ext3    defaults        0       1
/dev/hda1       /media/hda1     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
/dev/hda5       /media/hda5     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
/dev/hda6       /media/hda6     ext3    defaults        0       2
/dev/hda8       none            swap    sw              0       0
/dev/hdb        /media/cdrom0   udf,iso9660 user,noauto     0       0

Изхода от  sudo fdisk -l:
Примерен код
ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        2550    20482843+   7  HPFS/NTFS
/dev/hda2            2551       10011    59930482+   f  W95 Ext'd (LBA)
/dev/hda5            2551        4763    17775891    7  HPFS/NTFS
/dev/hda6            4764        9077    34652173+  83  Linux
/dev/hda7            9078        9946     6980211   83  Linux
/dev/hda8            9947       10011      522081   82  Linux swap / Solaris
ubuntu@ubuntu:~$

btw се си мисля че ако по някакъв начин сложа да се буутва от /dev/hda7 ще тръгне!



Активен

Linux - Connecting People!

alabal

  • Напреднали
  • *****
  • Публикации: 2173
  • cat /earth/europe/bg/sofia | grep Nacamura
    • Профил
Проблем с gparted
« Отговор #38 -: Oct 02, 2006, 22:33 »
Цитат
Put it in menu.lst
Anyway, have you ever read this usefull documentation ? '<img'>


I am perfectly agree with saejoh!
Bro! Use bg keyboard layout!

Сега сериозно! _NetCutter_, bratko, oще едно съобщение на латиница и темата ще бъде затворена!
Активен

It makes you awful glad that you were born a man.

redcure

  • Напреднали
  • *****
  • Публикации: 914
    • Профил
Проблем с gparted
« Отговор #39 -: Oct 02, 2006, 22:48 »
А ти пробва ли да преинсталираш grub?
След като си заредил live cd-то, монитраш кореният дял, даваш chroot на мястото, където си го монтирал и изпълняваш grub-install, update-grub, exit, една бърза молитва и рестартираш.
Активен

Debian testing 2.6.18, Enlightenment DR17

http://www.debian.org/doc/manuals/apt-howto/index.en.html

_NetCutter_

  • Напреднали
  • *****
  • Публикации: 513
    • Профил
Проблем с gparted
« Отговор #40 -: Oct 03, 2006, 09:38 »
Примерен код
ubuntu@ubuntu:~$ sudo mkdir /media/kub
ubuntu@ubuntu:~$ sudo mount /dev/hda7 /media/kub
ubuntu@ubuntu:~$ grub-install
install_device not specified.
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.

  -h, --help              print this message and exit
  -v, --version           print the version information and exit
  --root-directory=DIR    install GRUB images under the directory DIR
                          instead of the root directory
  --grub-shell=FILE       use FILE as the grub shell
  --no-floppy             do not probe any floppy drive
  --force-lba             force GRUB to use LBA mode even for a buggy
                          BIOS
  --recheck               probe a device map even if it already exists

INSTALL_DEVICE can be a GRUB device name or a system device filename.

grub-install copies GRUB images into the DIR/boot directory specfied by
--root-directory, and uses the grub shell to install grub into the boot
sector.

Report bugs to <bug-grub@gnu.org>.
ubuntu@ubuntu:~$
Активен

Linux - Connecting People!

v_badev

  • Напреднали
  • *****
  • Публикации: 1355
    • Профил
Проблем с gparted
« Отговор #41 -: Oct 03, 2006, 10:31 »
_NetCutter_, в момента се опитваш да докажеш на всички че не можеш да четеш или какво?
Изпълнил ли си всичко което ти е написал redcure?
Прочете ли въобще каква грешка ти е изписал grub-install преди да пишеш пак във форума?
Активен

_NetCutter_

  • Напреднали
  • *****
  • Публикации: 513
    • Профил
Проблем с gparted
« Отговор #42 -: Oct 03, 2006, 10:41 »
grub-install [option?] /dev/hda7
Активен

Linux - Connecting People!

redcure

  • Напреднали
  • *****
  • Публикации: 914
    • Профил
Проблем с gparted
« Отговор #43 -: Oct 03, 2006, 11:00 »
Цитат (_NetCutter_ @ Окт. 03 2006,10:41)
grub-install [option?] /dev/hda7

Това какво е:
Въпрос?
Шега?
Опит?
Грешка?
Мисловна дейност?



Активен

Debian testing 2.6.18, Enlightenment DR17

http://www.debian.org/doc/manuals/apt-howto/index.en.html

_NetCutter_

  • Напреднали
  • *****
  • Публикации: 513
    • Профил
Проблем с gparted
« Отговор #44 -: Oct 03, 2006, 11:06 »
Въпрос.
Ще ми кажете ли точно какво трябва да направя че нищо не разбрах  '<img'>
Тука къде сггреших и какво трябва да направя:
Примерен код
ubuntu@ubuntu:~$ sudo mkdir /media/kub
ubuntu@ubuntu:~$ sudo mount /dev/hda7 /media/kub
ubuntu@ubuntu:~$ grub-install
install_device not specified.
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.

  -h, --help              print this message and exit
  -v, --version           print the version information and exit
  --root-directory=DIR    install GRUB images under the directory DIR
                          instead of the root directory
  --grub-shell=FILE       use FILE as the grub shell
  --no-floppy             do not probe any floppy drive
  --force-lba             force GRUB to use LBA mode even for a buggy
                          BIOS
  --recheck               probe a device map even if it already exists

INSTALL_DEVICE can be a GRUB device name or a system device filename.

grub-install copies GRUB images into the DIR/boot directory specfied by
--root-directory, and uses the grub shell to install grub into the boot
sector.

Report bugs to <bug-grub@gnu.org>.
ubuntu@ubuntu:~$




Активен

Linux - Connecting People!

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
Gparted = error reading inode ### ?
Настройка на програми
Rio 4 2075 Последна публикация Nov 11, 2007, 19:33
от Rio
Въпрос за fdik i gparted
Настройка на хардуер
ivan1979 1 1475 Последна публикация Feb 10, 2008, 18:29
от dvasilev
Проблем с GParted..
Настройка на програми
Ne7WoRK 2 1307 Последна публикация May 12, 2010, 14:25
от H0lyGanGs7eR
Gparted
Настройка на програми
steef 5 1967 Последна публикация May 16, 2011, 19:39
от b2l