SamyPesse / How-to-Make-a-Computer-Operating-System

How to Make a Computer Operating System in C++
https://samypesse.gitbook.io/how-to-create-an-operating-system
Apache License 2.0
21.15k stars 3.4k forks source link

Error in downloading Ubuntu lucid32 #147

Open SanjanaSunil opened 6 years ago

SanjanaSunil commented 6 years ago

When I run vagrant box add lucid32 http://files.vagrantup.com/lucid32.box in my terminal, the following error comes up:

box: Downloading: http://files.vagrantup.com/lucid32.box An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again.

The requested URL returned error: 503

How do I correct this?

ghost commented 6 years ago

The url you are trying to download ubuntu lucid 32 from doesn't exist anymore. So an alternative is necessary. So , what you can do is to download this vagrant file from here, https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System/blob/master/src/Vagrantfile . Then find the line following line: config.vm.box_url = "http://files.vagrantup.com/lucid32.box" When u find it then delete it and write the following line in the Vagrantfile: config.vm.box = "mrgcastle/ubuntu-lucid32" Save and copy the Vagrantfile to a directory and type Vagrant up from powershell or from your choice of terminal then press enter. It should have worked by now :)

psharma04 commented 5 years ago

Vagrant has changed the way you download boxes, as well as the way boxes are hosted on their servers. The command in the book will no longer work. Instead, use: vagrant box add lvphu609/lucid32 Hope this helps

SirGouki commented 4 years ago

the solution psharma04 provided definitely starts a download. not sure what ghost's recommendation does.

DolphinFlopFish commented 3 years ago

psharma04's solution works

Lr-2002 commented 3 years ago

Hi, Using psharma04's solutions the system of the box turn to be a x64 system following are the words in shell after cat /proc/version

Linux version 4.15.0-58-generic (buildd@lcy01-amd64-013) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019

looking for your help

sixie17 commented 1 year ago

I guess Alternavely you can use the following command vagrant box add lucid32 https://vagrantcloud.com/lvphu609/lucid32

duguxiao commented 1 year ago

您好,感谢您的来信。我将尽快给予您答复,祝好!

LTT 河高

Wisam907 commented 6 months ago

Vagrant has changed the way you download boxes, as well as the way boxes are hosted on their servers. The command in the book will no longer work. Instead, use: vagrant box add lvphu609/lucid32 Hope this helps

psharma04‘s solution is effective.

duguxiao commented 6 months ago

您好,感谢您的来信。我将尽快给予您答复,祝好!

LTT 河高

dangleenTuple commented 1 month ago

Hey everyone! The vagrant box "lvphu609/lucid32" gave me issues as well (it wasn't able to provision for me). So I used this box instead and it works: https://app.vagrantup.com/mrgcastle/boxes/ubuntu-lucid32

vagrant box add mrgcastle/ubuntu-lucid32

vagrant init mrgcastle/ubuntu-lucid32

duguxiao commented 1 month ago

您好,感谢您的来信。我将尽快给予您答复,祝好!

LTT 河高

pengyz commented 1 month ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。