Displaying 20 results from an estimated 147 matches for "sysimage".
2014 Feb 21
2
CentOS x86_64 6.4
Hi List,
Strange problem.
I am running off of CentOS x86_64 6.4 usb key that is sdb
I have ssd disk that has a centos image on it. I have mounted
the partitions /dev/sda3 as /mnt/sysimage
and /dev/sda1 as /mnt/sysimage/boot
I am trying to chroot to /mnt/sysimage dir but get the following error.
[root at localhost root]# /usr/sbin/chroot /mnt/sysimage /bin/bash
/usr/sbin/chroot: failed to run command `/bin/bash': No such file or directory
[root at localhost root]# ls /mnt/sysi...
2017 May 05
4
CentOS 7 cloned VM cannot boot
...gt;
> Yes, I have tried that multiple times, both from Troubleshooting Mode
> (booting using CentOS 7 Installation CD) and from within the actual system
> (booted using super-grub2 disk).
>
> I always get (from troubleshooting mode):
>
> # grub2-install --root-directory=/mnt/sysimage/ /dev/vda
> Installing for i386-pc platform.
> grub2-install: error: unknown filesystem.
>
> or (from within the OS):
>
> # grub2-install /dev/vda
> Installing for i386-pc platform.
> grub2-install: error: unknown filesystem.
>
> How can I fix that?
>...
2017 May 05
0
CentOS 7 cloned VM cannot boot
...provided in your first e-mail?
>
Yes.
One final thing. When I had to change boot settings, I made different steps
> in choot environment in respect of the indication inside the image you
> sent.
>
> Specifically
>
> Verify if your boot partition is already mounted under /mnt/sysimage/boot
> in your current environment
>
Yes, it is:
sh-4.2# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/live-rw 2.0G 1.1G 930M 54% /
devtmpfs 979M 0 979M 0% /dev
tmpfs 1001M 4.0K 1001M 1% /dev/shm
tmpfs...
2016 Oct 30
2
Cannot boot CentOS 7 VM after updating Host CentOS 7 Kernel
...2023652 0
2023652 0% /sys/fs/cgroup
/dev/sr1 4227724 4227724 0 100%
/run/install/repo
tmpfs 2023652 200 2023452
1% /tmp
/dev/mapper/centos-root 10799104 3894196 6904908 37% /mnt/sysimage
/dev/vda1 508588 143516 365072 29%
/mnt/sysimage/boot
tmpfs 2023652 0
2023652 0% /mnt/sysimage/dev/shm
> ls /mnt/sysimage
bin boot dev etc home lib lib64 media misc mnt net
opt proc...
2010 Aug 03
4
Manually mounting partitions in "linux rescue" mode
...llation DVD, with an already existing CentOS 5.5
system on my hard disks. I have separate boot, root, and home
partitions. I have moved the boot partition and now I need to
re-initialize grub from rescue mode.
Attempting to use 'rescue mode" to automatically mount my system under
/mnt/sysimage eventally fails with an error message, which essentially
says 'mount error' and nothing else. I am then put at a command prompt
as root.
So now I decide to manually mount my partitions at /mnt/sysimage and
then do a chroot to /mnt/sysimage. This succeeds and when I look at my
files the...
2010 Mar 25
1
/mnt/sysimage/dev folder in rescue mode
If I boot C5 from DVD in rescue mode,
chroot to /mnt/sysimage, and try to do a
grub-install /dev/sda it will fail because
the /dev folder is empty (in the chroot environment).
Until now I've then created the missing nodes manually,
but is there a smarter way of doing this? Some devfs
that needs to be mounted on top of /dev?
Mogens
--
Mogens Kjaer, Carl...
2017 May 05
0
CentOS 7 cloned VM cannot boot
...e one provided in your first e-mail?
Yes.
> One final thing. When I had to change boot settings, I made different steps
> in choot environment in respect of the indication inside the image you sent.
>
> Specifically
>
> Verify if your boot partition is already mounted under /mnt/sysimage/boot
> in your current environment
Yes, it is:
sh-4.2# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/live-rw 2.0G 1.1G 930M 54% /
devtmpfs 979M 0 979M 0% /dev
tmpfs 1001M 4.0K 1001M 1% /dev/shm
tmpfs...
2012 Jul 16
4
Can't get Grub work on clone of machine
...ine.
I have not been able to get Grub to go further than :
GRUB Loading stage1.5.
GRUB Loading, please wait...
Error 2
I have tried :
the Super Grub http://www.supergrubdisk.org/wiki/Howto_Fix_Grub#GRUB_solution_.28Linux_shell.29
http://wiki.centos.org/TipsAndTricks/ReinstallGRUB
# chroot /mnt/sysimage
# grub-install /dev/sda
/dev/sda does not have any corresponding BIOS drive.
http://www.av8n.com/computer/htm/grub-reinstall.htm
# grub-install --root-directory=/mnt/sysimage /dev/sda
/dev/sda does not have any corresponding BIOS drive.
I have also tried a number using the grub console with a n...
2013 Jan 12
4
obscure out of space, df and fi df are way off
...crashing. What''s interesting is this, deleting irrelevant source file systems, just showing the mounts for the installed system:
[root@localhost tmp]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 3746816 3193172 1564 100% /mnt/sysimage
/dev/sda1 495844 31509 438735 7% /mnt/sysimage/boot
/dev/sda3 3746816 3193172 1564 100% /mnt/sysimage/home
So there''s 1.5M of free space left according to conventional df. However:
[root@localhost tmp]# btrfs fi show
Label: ''fed...
2008 Nov 11
1
linux rescue - complete list of utilities and commands?
On this URL:
http://www.centos.org/docs/5/html/Installation_Guide-en-US/s1-rescuemode-boot.html
there is a description of "linux rescue" which includes the following:
From the prompt, you can run many useful commands, such as:
ssh, scp, and ping if the network is started
dump and restore for users with tape drives
parted and fdisk for managing partitions
2008 Feb 14
2
kickstart file problem
...Next()
File "/usr/lib/anaconda/iw/progress_gui.py", line 243, in renderCallback
self.intf.icw.nextClicked()
File "/usr/lib/anaconda/gui.py", line 1034, in handleRenderCallback
self.currentWindow.renderCallback()
OSError: [Errno 2] No such file or directory: '/mnt/sysimage/tmp/ks-script-ah2YMC'
Local variables in innermost frame:
intf: <gui.InstallInterface instance at 0x2aaab6572a28>
tempfile: <module 'tempfile' from '/usr/lib64/python2.4/tempfile.py'>
self: (s: '# setup NTP|echo "setup NTP"|cat << EOF > /etc/n...
2017 May 05
2
CentOS 7 cloned VM cannot boot
On Fri, May 5, 2017 at 2:05 PM, Bernard Lheureux <
bernard.lheureux at bbsoft4.org> wrote:
> On 05/05/2017 12:57, Gianluca Cecchi wrote:
>
> grub-install /dev/vda2 didn't work ?
>
>
As this is a CentOS 7.x system, I would say this, if you want to install it
on MBR:
grub2-install /dev/vda
as detailed here:
2010 Aug 01
1
Unable to mount devices in rescue mode
...mounted. When I boot from the install DVD and type "linux rescue" I
eventually get the message, after attempting to have one of the screens
mount my partitions in read/write mode:
"An error occurred trying to mount some or all of your system. Some of
it may be mounted under /mnt/sysimage."
But nothing appears mounted under /mnt/sysimage. Does anybody have any
idea of why this error is happening ? Should I try mounting my CentOS
5.5 partitions manually at this point ?
2016 Oct 30
0
Cannot boot CentOS 7 VM after updating Host CentOS 7 Kernel
...2 0 2023652
> 0% /sys/fs/cgroup
> /dev/sr1 4227724 4227724 0 100%
> /run/install/repo
> tmpfs 2023652 200 2023452
> 1% /tmp
> /dev/mapper/centos-root 10799104 3894196 6904908 37% /mnt/sysimage
> /dev/vda1 508588 143516 365072 29%
> /mnt/sysimage/boot
> tmpfs 2023652 0 2023652
> 0% /mnt/sysimage/dev/shm
>
> > ls /mnt/sysimage
> bin boot dev etc home lib lib64 media mis...
2016 Oct 30
2
Cannot boot CentOS 7 VM after updating Host CentOS 7 Kernel
...0% /sys/fs/cgroup
>> /dev/sr1 4227724 4227724 0 100%
>> /run/install/repo
>> tmpfs 2023652 200 2023452
>> 1% /tmp
>> /dev/mapper/centos-root 10799104 3894196 6904908 37%
>> /mnt/sysimage
>> /dev/vda1 508588 143516 365072 29%
>> /mnt/sysimage/boot
>> tmpfs 2023652 0 2023652
>> 0% /mnt/sysimage/dev/shm
>>
>> > ls /mnt/sysimage
>> bin boot dev etc ho...
2020 Aug 04
9
Fixing grub/shim issue Centos 7
Hi all,
I had the same problem with my UEFI bios machine and I fixed it so for
Centos 7:
1) Boot from an rescue linux usb
2) When the rescue system is running:
??? 2.1) #chroot /mnt/sysimage
3) Config network:
??? 3.1) # ip addr add X.X.X.X/X dev X
??? 3.2) # ip route add default via X.X.X.X??? <--- default router
4) And finally:
??? #yum downgrade shim\* grub2\* mokutil
??? #exit
??? #reboot
I hope you can fix it with these steps.
El 4/8/20 a las 0:56, Nicolas Kovacs...
2017 May 05
1
CentOS 7 cloned VM cannot boot
On 5/5/2017 8:34 ??, Gianluca Cecchi wrote:
> Your /mnt/sysimage/boot is under tmpfs not real disk...
Sorry, I am not an expert, but it does seem to NOT be under tmpfs:
Filesystem Size Used Avail Use% Mounted on
...
/dev/vdal 497M 192M 306M 39% /mnt/sysimage/boot
...
Why do you say that the boot partition is under tmpfs?
Nick
2017 May 05
2
CentOS 7 cloned VM cannot boot
On 5/5/2017 9:10 ??, Marcelo Roccasalva wrote:
> xfs_admin -U restore /dev/vdal
Bingo!
I had to unmount the boot partition (being in Troubleshooting mode), run
the above command, which provided a new UUID and at last the partition
was recognized as xfs. (I forgot to copy the output to paste here.)
I then mounted the boot partition again, chrooted, grub2-install'ed
successfully,
2006 Oct 09
2
3.x box - lilo - hosed bootloader
Hi
Updated the firmware on a PERC RAID card as it was out of date and
causing a monitoring error - Everything went fine but on the reboot the
box now tells me it cant find a valid boot device - I am thinking maybe
somehow the boot block on the logical disk is shot.
Can anyone advise me on how to rebuild the bootloader on lilo using a
rescue CD?
thanks
2008 Jan 21
2
CentOS4.4 - Not booting up
...l 2 days back. Suddenly when the PC was booted-up, it
wouldn't bootup. It gets stuck displaying the following message.
exec of init (/sbin/init) failed !!!: 80
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init!
I entered the rescue mode and attempted
chroot /mnt/sysimage
It spitted an error
"chroot : cannot execute /bin/sh: Accessing a corrupted shared library."
I tried to google-out the problem in vain
Any clues as to whats the problem and the remedy?
TIA,
Balaji