Can I reinstall swap using ubuntu 14.04 on a ubuntu 16.04 system?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
My laptop has Ubuntu OS. While trying to boot it is giving me the following error:
97.255199 systemd[1]: timed out waiting for device #device.
[TIME] Timed out waiting for device #device
[DEPEND] Dependency failed for #device
[DEPEND] Dependency failed for Swap
my system had Ubuntu 16.04, i tried to reinstall swap using Ubuntu 16.04 cd, but Ubuntu is getting stuck before the installation screen appears. However the installation screen appears if i use 14.04 Ubuntu. Should i go ahead with that. Thanks
14.04 16.04 swap
 |Â
show 22 more comments
up vote
1
down vote
favorite
My laptop has Ubuntu OS. While trying to boot it is giving me the following error:
97.255199 systemd[1]: timed out waiting for device #device.
[TIME] Timed out waiting for device #device
[DEPEND] Dependency failed for #device
[DEPEND] Dependency failed for Swap
my system had Ubuntu 16.04, i tried to reinstall swap using Ubuntu 16.04 cd, but Ubuntu is getting stuck before the installation screen appears. However the installation screen appears if i use 14.04 Ubuntu. Should i go ahead with that. Thanks
14.04 16.04 swap
14.04 will be End of Life in 13 months, so you probably shouldn't go back to it at this point. Rather it seems like you've probably made some system configuration changes on 16.04, that is likely causing the issue you're seeing, and you should resolve that instead.
â dobey
Mar 20 at 13:27
You can mount the partition, that is used as root partition by your Ubuntu 16.04 LTS system, and edit the file/mountpoint/etc/fstab
to turn off swap with a#
character at the beginning of the line that controls the swapping (probably only one line). Then you should be able to boot into your Ubuntu 16.04 LTS system, create a correct swap partition and edit the line in/etc/fstab
to match your new swap partition. Then it should work with swap after rebooting.
â sudodus
Mar 20 at 14:11
@sudodus: my system is not even booting from hard disk. How do i run these commands.
â RIchard Williams
Mar 20 at 14:19
Boot from a live drive (USB pendrive or DVD disk). If one version or flavour does not work, try another one, for example Lubuntu or Xubuntu with lighter desktop environments than standard Ubuntu, and a different version, 14.04, 16.04, 17.10.1 depending on your hardware. Maybe you need some boot option, for examplenomodeset
to make it boot to a graphical desktop environment. Then mount the partition, that is used as root partition by your Ubuntu 16.04 LTS system according to my previous comment.
â sudodus
Mar 20 at 14:24
1
When booted from the live 14.04 DVD disk, please check/fix the root file system of the installed 16.04 LTS system,sudo e2fsck -f /dev/sdxn
where x is the device letter and n is the partition number, so for examle/dev/sda1
if the first drive and the first partition (in that drive).
â sudodus
Mar 26 at 11:50
 |Â
show 22 more comments
up vote
1
down vote
favorite
up vote
1
down vote
favorite
My laptop has Ubuntu OS. While trying to boot it is giving me the following error:
97.255199 systemd[1]: timed out waiting for device #device.
[TIME] Timed out waiting for device #device
[DEPEND] Dependency failed for #device
[DEPEND] Dependency failed for Swap
my system had Ubuntu 16.04, i tried to reinstall swap using Ubuntu 16.04 cd, but Ubuntu is getting stuck before the installation screen appears. However the installation screen appears if i use 14.04 Ubuntu. Should i go ahead with that. Thanks
14.04 16.04 swap
My laptop has Ubuntu OS. While trying to boot it is giving me the following error:
97.255199 systemd[1]: timed out waiting for device #device.
[TIME] Timed out waiting for device #device
[DEPEND] Dependency failed for #device
[DEPEND] Dependency failed for Swap
my system had Ubuntu 16.04, i tried to reinstall swap using Ubuntu 16.04 cd, but Ubuntu is getting stuck before the installation screen appears. However the installation screen appears if i use 14.04 Ubuntu. Should i go ahead with that. Thanks
14.04 16.04 swap
14.04 16.04 swap
asked Mar 20 at 13:24
RIchard Williams
1115
1115
14.04 will be End of Life in 13 months, so you probably shouldn't go back to it at this point. Rather it seems like you've probably made some system configuration changes on 16.04, that is likely causing the issue you're seeing, and you should resolve that instead.
â dobey
Mar 20 at 13:27
You can mount the partition, that is used as root partition by your Ubuntu 16.04 LTS system, and edit the file/mountpoint/etc/fstab
to turn off swap with a#
character at the beginning of the line that controls the swapping (probably only one line). Then you should be able to boot into your Ubuntu 16.04 LTS system, create a correct swap partition and edit the line in/etc/fstab
to match your new swap partition. Then it should work with swap after rebooting.
â sudodus
Mar 20 at 14:11
@sudodus: my system is not even booting from hard disk. How do i run these commands.
â RIchard Williams
Mar 20 at 14:19
Boot from a live drive (USB pendrive or DVD disk). If one version or flavour does not work, try another one, for example Lubuntu or Xubuntu with lighter desktop environments than standard Ubuntu, and a different version, 14.04, 16.04, 17.10.1 depending on your hardware. Maybe you need some boot option, for examplenomodeset
to make it boot to a graphical desktop environment. Then mount the partition, that is used as root partition by your Ubuntu 16.04 LTS system according to my previous comment.
â sudodus
Mar 20 at 14:24
1
When booted from the live 14.04 DVD disk, please check/fix the root file system of the installed 16.04 LTS system,sudo e2fsck -f /dev/sdxn
where x is the device letter and n is the partition number, so for examle/dev/sda1
if the first drive and the first partition (in that drive).
â sudodus
Mar 26 at 11:50
 |Â
show 22 more comments
14.04 will be End of Life in 13 months, so you probably shouldn't go back to it at this point. Rather it seems like you've probably made some system configuration changes on 16.04, that is likely causing the issue you're seeing, and you should resolve that instead.
â dobey
Mar 20 at 13:27
You can mount the partition, that is used as root partition by your Ubuntu 16.04 LTS system, and edit the file/mountpoint/etc/fstab
to turn off swap with a#
character at the beginning of the line that controls the swapping (probably only one line). Then you should be able to boot into your Ubuntu 16.04 LTS system, create a correct swap partition and edit the line in/etc/fstab
to match your new swap partition. Then it should work with swap after rebooting.
â sudodus
Mar 20 at 14:11
@sudodus: my system is not even booting from hard disk. How do i run these commands.
â RIchard Williams
Mar 20 at 14:19
Boot from a live drive (USB pendrive or DVD disk). If one version or flavour does not work, try another one, for example Lubuntu or Xubuntu with lighter desktop environments than standard Ubuntu, and a different version, 14.04, 16.04, 17.10.1 depending on your hardware. Maybe you need some boot option, for examplenomodeset
to make it boot to a graphical desktop environment. Then mount the partition, that is used as root partition by your Ubuntu 16.04 LTS system according to my previous comment.
â sudodus
Mar 20 at 14:24
1
When booted from the live 14.04 DVD disk, please check/fix the root file system of the installed 16.04 LTS system,sudo e2fsck -f /dev/sdxn
where x is the device letter and n is the partition number, so for examle/dev/sda1
if the first drive and the first partition (in that drive).
â sudodus
Mar 26 at 11:50
14.04 will be End of Life in 13 months, so you probably shouldn't go back to it at this point. Rather it seems like you've probably made some system configuration changes on 16.04, that is likely causing the issue you're seeing, and you should resolve that instead.
â dobey
Mar 20 at 13:27
14.04 will be End of Life in 13 months, so you probably shouldn't go back to it at this point. Rather it seems like you've probably made some system configuration changes on 16.04, that is likely causing the issue you're seeing, and you should resolve that instead.
â dobey
Mar 20 at 13:27
You can mount the partition, that is used as root partition by your Ubuntu 16.04 LTS system, and edit the file
/mountpoint/etc/fstab
to turn off swap with a #
character at the beginning of the line that controls the swapping (probably only one line). Then you should be able to boot into your Ubuntu 16.04 LTS system, create a correct swap partition and edit the line in /etc/fstab
to match your new swap partition. Then it should work with swap after rebooting.â sudodus
Mar 20 at 14:11
You can mount the partition, that is used as root partition by your Ubuntu 16.04 LTS system, and edit the file
/mountpoint/etc/fstab
to turn off swap with a #
character at the beginning of the line that controls the swapping (probably only one line). Then you should be able to boot into your Ubuntu 16.04 LTS system, create a correct swap partition and edit the line in /etc/fstab
to match your new swap partition. Then it should work with swap after rebooting.â sudodus
Mar 20 at 14:11
@sudodus: my system is not even booting from hard disk. How do i run these commands.
â RIchard Williams
Mar 20 at 14:19
@sudodus: my system is not even booting from hard disk. How do i run these commands.
â RIchard Williams
Mar 20 at 14:19
Boot from a live drive (USB pendrive or DVD disk). If one version or flavour does not work, try another one, for example Lubuntu or Xubuntu with lighter desktop environments than standard Ubuntu, and a different version, 14.04, 16.04, 17.10.1 depending on your hardware. Maybe you need some boot option, for example
nomodeset
to make it boot to a graphical desktop environment. Then mount the partition, that is used as root partition by your Ubuntu 16.04 LTS system according to my previous comment.â sudodus
Mar 20 at 14:24
Boot from a live drive (USB pendrive or DVD disk). If one version or flavour does not work, try another one, for example Lubuntu or Xubuntu with lighter desktop environments than standard Ubuntu, and a different version, 14.04, 16.04, 17.10.1 depending on your hardware. Maybe you need some boot option, for example
nomodeset
to make it boot to a graphical desktop environment. Then mount the partition, that is used as root partition by your Ubuntu 16.04 LTS system according to my previous comment.â sudodus
Mar 20 at 14:24
1
1
When booted from the live 14.04 DVD disk, please check/fix the root file system of the installed 16.04 LTS system,
sudo e2fsck -f /dev/sdxn
where x is the device letter and n is the partition number, so for examle /dev/sda1
if the first drive and the first partition (in that drive).â sudodus
Mar 26 at 11:50
When booted from the live 14.04 DVD disk, please check/fix the root file system of the installed 16.04 LTS system,
sudo e2fsck -f /dev/sdxn
where x is the device letter and n is the partition number, so for examle /dev/sda1
if the first drive and the first partition (in that drive).â sudodus
Mar 26 at 11:50
 |Â
show 22 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1017627%2fcan-i-reinstall-swap-using-ubuntu-14-04-on-a-ubuntu-16-04-system%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
14.04 will be End of Life in 13 months, so you probably shouldn't go back to it at this point. Rather it seems like you've probably made some system configuration changes on 16.04, that is likely causing the issue you're seeing, and you should resolve that instead.
â dobey
Mar 20 at 13:27
You can mount the partition, that is used as root partition by your Ubuntu 16.04 LTS system, and edit the file
/mountpoint/etc/fstab
to turn off swap with a#
character at the beginning of the line that controls the swapping (probably only one line). Then you should be able to boot into your Ubuntu 16.04 LTS system, create a correct swap partition and edit the line in/etc/fstab
to match your new swap partition. Then it should work with swap after rebooting.â sudodus
Mar 20 at 14:11
@sudodus: my system is not even booting from hard disk. How do i run these commands.
â RIchard Williams
Mar 20 at 14:19
Boot from a live drive (USB pendrive or DVD disk). If one version or flavour does not work, try another one, for example Lubuntu or Xubuntu with lighter desktop environments than standard Ubuntu, and a different version, 14.04, 16.04, 17.10.1 depending on your hardware. Maybe you need some boot option, for example
nomodeset
to make it boot to a graphical desktop environment. Then mount the partition, that is used as root partition by your Ubuntu 16.04 LTS system according to my previous comment.â sudodus
Mar 20 at 14:24
1
When booted from the live 14.04 DVD disk, please check/fix the root file system of the installed 16.04 LTS system,
sudo e2fsck -f /dev/sdxn
where x is the device letter and n is the partition number, so for examle/dev/sda1
if the first drive and the first partition (in that drive).â sudodus
Mar 26 at 11:50