Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th April 2006, 01:47
zeeclor zeeclor is offline
Junior Member
 
Join Date: Apr 2006
Location: Lismore, Australia
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xen and the Art of Debootstrap

I have created a debian minimal netinstall box and have been working my way through the recent Xen 3.0 HowTo. My only variation has been to use reiserfs. I get to section 4.1 and fail at the debootstrap. I have tried other repositories with the same result.

I wasn't sure if this was a gpg signature problem or more likely a download problem. However, my connection for other downloads (e.g. Knoppix CD under bittorrent yesterday) seems fine.

I seek your guidance to the path of enlightenment.

David

xentor:/xen/images# debootstrap --arch i386 sarge /xen/vm_base/ http://ftp2.de.debian.org/debian
I: Retrieving Packages
W: Retrying failed download of http://ftp2.de.debian.org/debian/dis...86/Packages.gz
W: Retrying failed download of http://ftp2.de.debian.org/debian/dis...86/Packages.gz
W: Retrying failed download of http://ftp2.de.debian.org/debian/dis...86/Packages.gz
I: Validating Packages
W: http://ftp2.de.debian.org/debian/dis...86/Packages.gz was corrupt
I: Retrieving Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
E: Couldn't find these debs: adduser apt apt-utils aptitude at base-config base-files base-passwd bash bsdmainutils bsdutils
snip

--
Tab to the left of me
Enter's to the right
Stuck in the middle with U
Reply With Quote
Sponsored Links
  #2  
Old 9th April 2006, 11:51
zeeclor zeeclor is offline
Junior Member
 
Join Date: Apr 2006
Location: Lismore, Australia
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xen and the Art of Debootstrap

For the record, bypassing apt-cacher and squid may have been the cure.

David
Reply With Quote
  #3  
Old 12th April 2006, 13:43
zeeclor zeeclor is offline
Junior Member
 
Join Date: Apr 2006
Location: Lismore, Australia
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xen and the Art of Debootstrap

Nope. That wasn't it.

The problem seems to be that I cannot get a full package download onto the mounted ext3 filesystem at ../images/vm_base.img. Yet debootstrap loads normally into the dom0 filesystem.

I'm stymied.

David
Reply With Quote
  #4  
Old 12th April 2006, 23:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What's the output of
Code:
ping -c4 ftp2.de.debian.org
?
How big is vm_base.img? What's in /etc/resolv.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 14th April 2006, 08:17
zeeclor zeeclor is offline
Junior Member
 
Join Date: Apr 2006
Location: Lismore, Australia
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Xen and the Art of Debootstrap

Thanks Falko, I've made it through. :-)

The particular problem with debootstrap was that the instruction:-
dd if=/dev/zero of=/vserver/images/vm_base.img bs=1024k count=1000
returned immediately and did not create a 1 gig file in which to place the new installation.

As a word of warning to others, I suggest strictly following Falko's "cut and paste" instructions. Starting in dom0 with etch, not sarge, is a mistake and the same applies to DomU initial installs with testing not stable.

I'll remember not to be such a deviant next time.

David
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump


All times are GMT +2. The time now is 09:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.