From: "Alexandr" <mirus@newmail.ru>
To: <community@altlinux.ru>
Subject: Re: [Comm] Восстановить загрузку Linux после разбивки
Date: Sat, 20 Mar 2004 22:42:41 +0300
Message-ID: <001101c40eb4$4b607010$670bf8d5@ALEX> (raw)
In-Reply-To: <200403201940.37041.iscander@mercuri.mk.ua>
> > Kernel panic: VFS: Unable to mount root fs on 03:06
> > Можно ли его реанимировать?
> Нужно! Загрузитесь с LiveCD(например Junior2.2 resque выбор при
загрузке)
> Дальше подмантируйте раздел /dev/hda7
> Зайдите через точку монтирования в файлик ./etc/fstab и подправьте для /
> корневого раздела устройство с /dev/hda6 на /dev/hda7 и для swap -
/dev/hda8
> Создав новый раздел выизменили таблицу диска соответсвенно для linux
> сдвинулись номера устройств разделов...
> Да кстати не забудьте подправить /etc/lilo.conf после чего(или даже в
самом
> начале после монтирования вами /dev/hda7) chroot на вашу точку
монтирования и
> lilo от root!
Загрузился с первого диска от Master2.2 в режиме rescue, все разделы
примонтировались автоматически.
Пишу:
[root@rescue /] /mnt/sbin/lilo -C /mnt/etc/lilo.conf
lilo: Fatal: Sorry, don't know how to handle device 0x0103
Как тут загрузчик прописать.
Вот мой fstab
/dev/hda7 / ext3 defaults 1 1
devpts /dev/pts devpts gid=5,mode=0620 0 0
/dev/hda1 /mnt/c vfat iocharset=koi8-r,umask=0,quiet,codepage=866 0 0
/dev/cdrom /mnt/cdrom auto user,iocharset=koi8-r,exec,ro,noauto 0 0
/dev/hda5 /mnt/d vfat iocharset=koi8-r,umask=0,quiet,codepage=866 0 0
/dev/floppy /mnt/floppy auto
user,iocharset=koi8-r,umask=0,sync,quiet,exec,codepage=866,noauto 0 0
proc /proc proc gid=19 0 0
/dev/hda8 swap swap defaults 0 0
вот lilo.conf
boot=/dev/hda
map=/boot/map
install=/boot/boot-bmp.b
vga=normal
default=linux-up
message=/boot/splash/message
lba32
prompt
timeout=50
image=/boot/vmlinuz-up
label=linux-up
root=/dev/hda7
initrd=/boot/initrd-up.img
read-only
image=/boot/vmlinuz-up
label=failsafe
root=/dev/hda7
initrd=/boot/initrd-up.img
append=" failsafe"
vga=normal
read-only
image=/boot/vmlinuz-2.4.22
label=Linux-2.4.22
read-only
root=/dev/hda7
other=/dev/hda1
label=windows
table=/dev/hda
other=/dev/fd0
label=floppy
unsafe
next prev parent reply other threads:[~2004-03-20 19:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-20 17:40 ` Alexandr R. Ogurtzoff
2004-03-20 19:42 ` Alexandr [this message]
2004-03-21 20:00 ` some_x
2004-03-21 17:14 ` Andrey Rahmatullin
2004-03-20 17:46 ` Vitaly Lipatov
2004-03-20 18:10 ` Andrey Rahmatullin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001101c40eb4$4b607010$670bf8d5@ALEX' \
--to=mirus@newmail.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git