LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 08-22-2014, 06:31 PM   #1
shayno90
Member
 
Registered: Oct 2009
Distribution: Windows10 Linux Mint NST Kali CentOS
Posts: 203
Blog Entries: 3

Rep: Reputation: 24
Backtrack R3 Grub Boot back screen issue in Virtualbox (restored Clonezilla image)


Software:
Clonezilla image of Backtrack R3 32bit
VirtualBox 4.3.12
Windows 7

Virtualbox settings:
video memory 64MB
Acceleration 3D
base memory 4096MB
Acceleration VT-x/AMD-v, PAE-NX, nested paging

Error where problem lies in Grub:
text splash vga=791

Description:
Created a Ubuntu 10.04 install on Virtual box.
Used Clonezilla to restore an image of Backtrack over it.
I launch the image and get to the grub boot menu and select Backtrack but just get a black screen.
I have the grub boot at startup with the following options which don't bring up the text mode of Backtrack i.e the CLI in order to startx
"text splash vga=791"
text splash nomodeset vga=791
text splash i915.modeset=1 vga=791

I restored the clonezilla image of Backrack to a physical hard drive on a laptop and the text splash screen appears but not in VirtualBox.

Any suggestions as all existing threads relate to problems following issuing the startx command?
Attached Thumbnails
Click image for larger version

Name:	backtrack grub error.png
Views:	22
Size:	6.1 KB
ID:	16182   Click image for larger version

Name:	bt boot menu.PNG
Views:	25
Size:	9.0 KB
ID:	16183  

Last edited by shayno90; 08-22-2014 at 06:39 PM.
 
Old 08-23-2014, 02:04 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Backtrack is unsupported download & install the latest version kali linux.

Last edited by EDDY1; 08-23-2014 at 02:13 PM.
 
Old 08-23-2014, 05:09 PM   #3
shayno90
Member
 
Registered: Oct 2009
Distribution: Windows10 Linux Mint NST Kali CentOS
Posts: 203

Original Poster
Blog Entries: 3

Rep: Reputation: 24
I know but I have it set up with most of the tools working without special configuration
and would rather use this for the moment before using Kali.

Any suggestion on the text splash vga problem I have?

Last edited by shayno90; 08-23-2014 at 05:16 PM.
 
Old 08-23-2014, 05:15 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Is Ubuntu still working? If you have a working install of Ubuntu run
Quote:
update-grub
then try booting
 
Old 08-23-2014, 05:20 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
on the last BT5 r3
if you ran a "dist upgrade"
you killed most of the BT5 tools
the dist upgrade to ubuntu12 will fubar the bt5 install

as in that pop up that TELLS you up upgrade will kill the install
 
Old 08-23-2014, 05:29 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I guess I wasn't reading very well. Lets start over.
1.You cloned from a physical hdd to vbox.
Was your kernel built with all drivers or just for the machine that it was cloned fro
As far as virtualbox hdd how many partitions, because I would assume 2 partitions which would mean that your root would be at sda1 (hd0,0)
 
Old 08-23-2014, 07:06 PM   #7
shayno90
Member
 
Registered: Oct 2009
Distribution: Windows10 Linux Mint NST Kali CentOS
Posts: 203

Original Poster
Blog Entries: 3

Rep: Reputation: 24
Clonezilla only cloned the 2 partitions for BT, ext4 and swap
Problem was they were mapped to sda6 and sd8 respectively
In order to install a clonezilla image with those partitions,
I had to install ubuntu and add 4 logical partitions,
sd5 (not used), sda6 (BT ext4), sda 7 (not used), sda 8 (swap)

Not straightforward but this worked as clonezilla would only restore
following these changes.

Once I boot into the BT kernel in grub the text splash does not appear
and remains a black screen.

To verify the clonezilla image, I restored the image to another hard disk
and booted into it and this worked.

The issue has to lie in the grub boot or a virtualbox setting, I think.
 
Old 08-23-2014, 07:09 PM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Can you mount the cloned hdd in Ubuntu?
If Ubuntu is still bootable then post output of lspci & lsmod.

Last edited by EDDY1; 08-23-2014 at 07:11 PM.
 
Old 08-23-2014, 07:37 PM   #9
shayno90
Member
 
Registered: Oct 2009
Distribution: Windows10 Linux Mint NST Kali CentOS
Posts: 203

Original Poster
Blog Entries: 3

Rep: Reputation: 24
I can connect the hard drive where the restored image works.

Note, you cannot boot into any other partition on the grub menu of the restored
clonezilla image as only the kernel and partitions for BT have been cloned.

Output of lsmod and lspci attached

Noticed the i915 in the lspci but adding that to the BT kernel at boot did not work
i915.modeset=1
Attached Files
File Type: txt lspci.txt (2.0 KB, 18 views)
File Type: txt lsmod.txt (2.5 KB, 12 views)
 
Old 08-23-2014, 07:59 PM   #10
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Wait are these 2 files from virtualbox or your computer?
The grub image that you posted looks like the computer & the 2 files look like they come from computer.

Last edited by EDDY1; 08-23-2014 at 08:01 PM.
 
Old 08-23-2014, 08:44 PM   #11
shayno90
Member
 
Registered: Oct 2009
Distribution: Windows10 Linux Mint NST Kali CentOS
Posts: 203

Original Poster
Blog Entries: 3

Rep: Reputation: 24
The 2 grub screen images are taken from VirtualBox where the BT clonezilla image
was restored.

The 2 docs are from the hardrive where the clonezilla image of BT was
installed and taken from the live BT system.

I launched the BT virtualbox image and ran a Ubuntu live cd to grab the 2 docs again.
Attached Files
File Type: txt lsmodVB.txt (2.1 KB, 29 views)
File Type: txt lspciVB.txt (820 Bytes, 14 views)
 
Old 08-23-2014, 09:00 PM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Can you run
Quote:
sudo fdisk -l
in Vbox
 
Old 08-23-2014, 09:09 PM   #13
shayno90
Member
 
Registered: Oct 2009
Distribution: Windows10 Linux Mint NST Kali CentOS
Posts: 203

Original Poster
Blog Entries: 3

Rep: Reputation: 24
Done and attached as an image.
Attached Thumbnails
Click image for larger version

Name:	fdisk_BT.PNG
Views:	14
Size:	44.6 KB
ID:	16198  
 
Old 08-23-2014, 09:24 PM   #14
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Which is your /?
You show 2 swap partitions.
The grub that's in VB was part of Ubuntu, was Ubuntu removed?
The UUID was that from the original system?
I would suggest recloning, all you have is an extended partition.

Install / to sda1, /swap to sda2 or sda2(extended+sda5).
Mount / from cd & edit fstab(either by UUID or /dev)
Reinstall grub.
 
Old 08-24-2014, 04:20 PM   #15
shayno90
Member
 
Registered: Oct 2009
Distribution: Windows10 Linux Mint NST Kali CentOS
Posts: 203

Original Poster
Blog Entries: 3

Rep: Reputation: 24
Attached is the view of the partition space on virtualbox image.

To save on disk space I only cloned the BT partitions and not Ubuntu.

The reason I persist with this is when I restore the image to the physical disk
of another hard drive it works but not on virtualbox so it must be the kernel settings
at boot time.
Attached Thumbnails
Click image for larger version

Name:	disk_space_BT.PNG
Views:	17
Size:	39.4 KB
ID:	16217  
 
  


Reply

Tags
backtrackr3 virtualbox



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
clonezilla disk image into virtualbox virtual machine sirius57 Linux - Virtualization and Cloud 9 02-24-2013 10:50 AM
Can't boot a restored image garf_a Linux - General 2 05-06-2011 05:51 AM
Make " restored" XP partition image boot for Linux (first)-XP dual-boot mowley Linux - Newbie 52 08-23-2010 02:00 AM
[SOLVED] [Clonezilla] Can't boot restored PC? littlebigman Linux - Newbie 5 01-12-2010 02:53 AM
Grub/Dual boot - Windows partition restored via dd won't boot pazzport Ubuntu 1 01-06-2006 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 04:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration