Re: [opensuse] 10.3 upgrade



** Reply to message from "Joe Morris (NTM)" <Joe_Morris@xxxxxxx> on Wed, 31 Oct
2007 21:06:21 +0800


On 10/31/2007 08:26 PM, Stan Goodman wrote:
In Yast2 boot loader, or etc/sysconfig Editor.
In case you have never done this, you would log into the rescue system, then
mount the root partition of the drive, i.e. mount /dev/md0 /mnt
(Not sure if these are still needed in 10.3 or not)
mount -o bind /proc /mnt/proc
mount -o bind /dev /mnt/dev
mount -o bind /sys /mnt/sys
cd mnt
chroot /mnt
That will put you into your old system as root. To run Yast2 ncurses
mode, run yast.
to exit out of your change rooted system, type exit. Then shutdown -r
now to reboot. HTH.

I know a little more now about the booting sequence of the partially upgraded
10.2 > 10.3.

GRUB seems still OK to be, it points to a stage-2 loader
which is at sector 0x1973e28 (which is inside /dev/sda6 somewhere).

(GRUB, I should add occupies its own small (7MB) EXT2 partition, sda7. The
reason it is there rather one of the conventional locations is that openSuSE
itself is on an XFS file system. XFS has its own peculiarities, and this is a
workaround.)

GRUB can also read that sector, and the ones directly after it,
and they contain valid GRUB datastructures as shown by
the level of detail displayed by DFSee (see below).

++++++++++
GRUB stageX @PSN : 0x01973e28 Located on : /dev/hda6
StageX segm:addr : 0800:8000 Forcing LBA : No
Stage1 install by : 3.2 Boot Disk # : 0xff = disknr : 1
StageX install by : 3.2 LoadSegment : 0x0820 = stage 2 code
GRUB code version : 0.97 Code size : 100.5 KiB
GRUB Config file : /boot/grub/menu.lst
++++++++++

So, all is apparently as it should be, and I can't tell why it does not boot ...

Perhaps some change (kernel name/revision ?) is needed
in the /boot/grub/menu.lst file.

Does this ring a bell with anyone?

--
Stan Goodman
Qiryat Tiv'on
Israel


Are people more violently opposed to fur than to leather because it's safer to harrass rich women than biker gangs?
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: Newbie need help with moved hard drive
    ... > This is my secondary hard drive that was connected to IDE channel 2 ... Mount the root partition (not sure from your msg ... For the grub portion, I think ...
    (alt.os.linux.suse)
  • Re: chroot problem
    ... but when i run chroot i get weird error: ... In which case you will need to mount those ... If you boot a cdrom that uses grub as the bootloader then you can stop ... Go through the fstab of your root partition to see any other essential mount ...
    (Debian-User)
  • Re: Hardware
    ... If you used Knoppix or some other live CD, ... Right-click on the desktop icon for the root partition and mount it ... name and the second field, where I put the Xs, holds the password hash. ...
    (Debian-User)
  • Re: Restoring old root partitions.
    ... >>Why not go in with a rescue disk of some sort, chroot to the original ... Basically, you boot up the rescue disk, mount whatever partition needed ... say your root partition is /dev/hda1. ...
    (Debian-User)
  • Re: [SLE] Duplicate Install
    ... Mount your server's root partition to /mnt/server. ... Get the installation.tar.bz2 off your source server or make available somehow. ... into it and do tar xfj installation.tar.bz2 ...
    (SuSE)