Debian Configuration :: Hibernate To Disk Not Restoring

Mar 9, 2011

I have Debian 6 (squeeze), I have also seen this under Ubuntu (can not remember how I fixed it). (has worked in ubuntu 10.10)I can hibernate, but when I switch on the system cold boots (it does not restore previous session).Note suspend works fine. Have looked in /var/log/pm-suspend.log Shows for each block of suspend suspend a block of resume suspend, but hibernate hibernate is not followed by resume hibernate ( I assume that is what is expected.)

View 7 Replies


ADVERTISEMENT

Debian Configuration :: Tampered With Kernel And After Restoring It Cannot Print

Jul 19, 2011

I tampered with Kernel and after restoring it cannot print , when I tried to re instal printer get the following message: CUPS sharing "Unable to get printer status(client-error-forbidden)!"

View 2 Replies View Related

Debian Configuration :: Restoring Lenny's GRUB After Installing Windows XP Elsewhere?

Feb 21, 2010

My computer initially had one hard drive, with Debian Lenny 5.0.4 installed. I haven't done any special configuration, so upon boot, I was presented with the GRUB kernel select menu, then gdm, etc. I think I used the Debian installer's 'use entire drive with LVM' configuration.

I then added a second hard drive, with the intention of installing Windows XP on it. After I installed XP on this second drive, I found out that it had overwritten the MBR on the first drive. (It was my intention do use the BIOS' F8-key boot menu to choose between the two drives, each with their own distinct boot loader. The two drives and OS's would be completely independent.)

Using my Debian installer CD, I think I have GRUB installed on the first drive again. I've found a number of tutorials which say I can use 'set' and 'linux' to boot the system, but the linux command always returns a file not found error.

I think my LVM filesystem is still intact, as the Debian installer's fdisk reports it, it can also chroot to it and my installation appears to be intact. 'ls' within GRUB shows (derek-swap_1) (derek-root) (hd0) (hd0,1) (hd0,2) (hd1) (hd1,1) (fd0) . 'derek' was the hostname I used.

I would like to simply restore the system to the way it was before: with the standard GRUB that comes with Debian 5.0.4, which then boots into the debian with my LVM filesystem. Is there a way to do this from the Debian installer CD? (I was hoping there would be a 'dummy install' command which would install GRUB and configure it properly, but leave all my existing partitions and filesystems intact.)

View 4 Replies View Related

Debian Configuration :: Restoring Boot Record After GRUB Installation?

Mar 11, 2011

I have recently installed Debian alongside Vista on the same boot menu using the GRUB booting device. Only problem is, I couldn't boot Vista at all any more, so I removed my Debian installation from that drive. But the GRUB boot record persists, I don't have the Recovery disk to restore my old system, so I have to find a way to manually remove the GRUB track and put the old record in its place. I assume there was a copy made of it by the installation program, now my only problem is to find that file and copy the content back in place (at the address at the very beginning of the drive) all that by using Linux code, since that is all I have left. Being new to this game, I have no idea how to begin writing the right command for a job like this

View 3 Replies View Related

Debian Configuration :: Can't Hibernate On Squeeze

Dec 20, 2010

I use my laptop at the college, and I've to suspend him frequently. So, I've decided to install the package pm-utils, to hibernate my PC, instead of power off it. When I try to do "# pm-hibernate", a tty appear, and this error is displayed :

[3506.405310] pm_op(): usb_dev_suspend+0x0/0xa [usbcore] returns -2
[3506.405310] PM: Device usb1 failed to freeze: error -2
This is the result in pm-suspend.log :
Initial commandline parameters:

[Code]....

View 14 Replies View Related

Debian Configuration :: Can Only Suspend / Hibernate As Root

Oct 28, 2015

Installed Debian 8.2 a while back, and I've been having issues with getting the machine to suspend correctly. If I try to put it to sleep when logged in to my regular user account the screen just goes black and then the computer hangs. However if I put it to sleep as root everything works fine. I do this by running this command (as root):

Code: Select allsystemctl suspend

What can I do about this? Worked fine on Debian wheezy..

Btw, just found this in the dmesg log. Connected perhaps..?

Code: Select all[    6.863018] ACPI Warning: SystemIO range 0x00000000000018e0-0x00000000000018ff conflicts with OpRegion 0x00000000000018e0-0x00000000000018ef (\_SB_.PCI0.SBUS.SMBI) (20140424/utaddress-258)
[    6.863028] ACPI:

If an ACPI driver is available for this device, you should use it instead of the native driver

View 7 Replies View Related

Debian Configuration :: Laptop Won't Hibernate With SSD In Ultrabay?

Aug 16, 2010

My Thinkpad T61 just got a Corsair X256 SSD in the ultrabay (where the CD usually is). This works well except for hibernating. Earlier I had a traditional HDD drive there which also hibernates just fine.After a failed hibernate the machine hangs with this message on screen:

ata1.00: status: { DRDY ERR }
ata1.00: error: { IDNF }
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: failed command: FLUSH CACHE EXT

[code]...

And looking in the kern.log I see this:

Aug 16 18:57:00 lap kernel: [ 175.690230] hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
Aug 16 18:57:00 lap kernel: [ 175.690237] hda: task_no_data_intr: error=0x10 { SectorIdNotFound }, LBAsect=1207959552, sector=18446744073709551615

[code]....

View 3 Replies View Related

Debian Configuration :: Suspend And Hibernate Do Not Work At All

Sep 6, 2011

I've been running 6.0.2 amd64 stable since release day and recently have noticed my suspend and hibernate do not work. Normally I have transmission running and have set it to not enter sleep mode while torrents are active. However today I have not had transmission and was wanting to see if the sleep mode options would kick in. So I have set my display to "sleep when inactive for" 5 mins (this works perfect)
I have set "put computer to sleep when inactive for" 10 mins (this does not work at all)

When I try to manually test suspend my display flashes black for a few seconds but remains backlit, then asks me to log back in
When I manually go into hibernate mode my display turns off, pops back on for a second and in a terminal says something about a usb device (something failed but it happens so fast I cannot read it)

View 3 Replies View Related

Debian Configuration :: XFCE - No Suspend / Hibernate Buttons

Jun 4, 2011

I've tried editing .xinitrc to contain ck-launch-session and dbus-launch to no avail. Console kit is installed. I'm using Sid without a login manager, and xfce's suspend and hibernate work fine on my Wheezy computer. Xfce4-session and consolekit are installed. Is this a problem with permissions?

View 3 Replies View Related

Debian Configuration :: Virtualbox 4.1 Breaks Suspend / Hibernate?

Jul 25, 2011

I have installed the latest virtualbox 4.1 on my desktop and laptop. It hosed suspend and hibernate.

The laptop is A Dell D630 with Intel Core2 Duo CPU, the desktop is an AMD based ASUS M3N78-VM mobo with Athlon II x2 250 CPU. Debian Testing 32-bit (same results with the 2.6.39 and the 3.0 kernels). Both have nvidia cards though - the desktop an integrated 8200, the laptop a NVS 135M. But suspend/hibernate was working before with the 4.0 series virtualbox.

The workaround is to clear the vboxpci vboxnetadp vboxnetflt vboxdrv modules from the memory before suspend/hibernate. I added the

service vboxdrv stop
rmmod vboxpci vboxnetadp vboxnetflt vboxdrv

lines to my sleep script (i dont use power managers, just the acpi powerbutton/lid scripts modified). Everything is ok now.

View 3 Replies View Related

Debian Configuration :: Hibernate Doesn't Work After Recent Kernel Upgrade?

Dec 15, 2010

I recieve the following error:

Cannot find swap device, try swapon -a
/bin/echo: write error: No such device

If I type swapon -a, I get something like this:
swapon: cannot find the device for UUID=4d79c009-9464-41d5-9f78-90644bca9ba3

It worked great before I did the upgrade... I've upgraded to 2.6.37-rc5.

View 11 Replies View Related

Debian Configuration :: Squeeze: Suspend/hibernate Resume Fails With Radeon Graphics

Aug 6, 2010

I am running Squeeze on an older Compaq EVO laptop with radeon graphics.

A few months ago, after an upgrade, suspend and hibernate stopped working. The suspend or hibernate worked fine, but the resume just hung with a black screen. I finally got around to looking into it and found a workaround.

The workaround is to disable Kernel Mode Setting for the radeon. This can be done by adding the boot parameter "radeon.modeset=0" or by editing /etc/modprobe.d/radeon-kms.conf so that it includes the line "options radeon modeset=0".

If you are interested in the details, you can search for problem reports related to radeon kernel mode setting.

View 3 Replies View Related

Debian Configuration :: Restore From Hibernate Fails From Time To Time?

Apr 28, 2011

I have a Insprion 14R (N4010) and when I hibernate it will usually restore without a problem, but maybe 15% of the time it will reboot while loading. I would like to figure why, since I'd rather not lose anything... My swap space is 5.9GB, I have 4GB RAM (video uses 1gb, so I have 3gb usable)

lspci says

00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)

[code]....

I do have the hibernate package installed...

View 6 Replies View Related

Ubuntu :: Restoring From A Root.disk File?

Aug 3, 2011

I was using Ubuntu, installed over Wubi in WindowsXP. Due to some hard disk issues, I was having some problems booting into Windows. But Ubuntu was working fine. So i backed up all my data from Ubuntu and somehow managed to back up the 'root.disk' from Windows.That hard disk turned out to have some bad sectors. Now I am over a new hard disk with all my data and WindowsXP freshly installed. I want to have my old copy of Ubuntu back as I have the 'root.disk' file with me. How shall I proceed?I tried installing a fresh copy of Ubuntu using Wubi and then replace the 'root.disk' file. But it showed some Grub error.

View 1 Replies View Related

Ubuntu / Apple :: Restoring Precious Hard Disk?

Nov 17, 2010

I have this 1 TB HDD , which had a single NTFS partition. I was planning to repartition it using my Mac OSX Disk Utility( my blunder). Once I did the reparitioning disk utility ran for like 8 hrs for reparition of 120 Gigs. After seeing no status after 8 hrs , I just plugged it out.After that am not able to use my HDD seems this wretched utilit has screwed thepartition table. Needless to say this 1 TB contains my 10 years of life time.Till now I have done :Used R3cover to recover partition table: No luckUsed Stellar for Mac : NO luck( this tool ran for 36 hrs before shouting No Data Found!!)Am runnig Test Disk: Interesting tool ran for 30 hrs and asked me to do a deep search now its been running for 2 days with status showing 50% usageThe status shows some 20 Linux parition, 1 Swap parition and 1 unknown partition.As Far as I know I never created any Liux partition.

Linux 329525360 746620911 417095552
Linux 329525384 746620935 417095552
Linux 329525408 746620959 417095552

[code]....

View 5 Replies View Related

Ubuntu :: Restoring Disk Image To Dissimilar Hardware

Apr 27, 2011

In the event of theoretical anticipated motherboard failure; how would Ubuntu react to dissimilar hardware? In that the Linux kernel contains, as I understand, all the necessary drivers.

View 3 Replies View Related

Ubuntu :: Restoring Disk Image To A Smaller Hard Drive Than The Original?

Jan 13, 2011

I am looking for an Open Source software making it possible to make a disk image of an Ubuntu installation as well as a Windows XP installation.I have checked out Clonezilla which almost solved the problem. However, the disk to which you restore needs to be the same size or bigger. I want to restore the whole thingo a smaller disk than the original.I am considering getting myself an SSD disk which will be considerably smaller than the 160 gb disk I have right now. I need it to work for Windows as well. Unfortunately I can't get rid of Windows quite yet I often participate in webinars on GotoWebinar and they do not support Linux ...

View 9 Replies View Related

Debian Configuration :: Installing Wireless From Disk?

Dec 17, 2010

How can I load packages from the cd? I installed from cd1 which I burned on a desktop, then installed Lenny onto a laptop. Works great, no problems except I have no way of connecting the laptop other than wireless.
I've found the network manager package on the cd, but don't have a clue how to install it. I really need to get the wireless working so I can install package manager, wi-fi radar and some other things. I tried putting the disk back in and thought rescue mode might bring me back to where I could select the individual packages I need, but that didn't work, it just wanted to go through another install. Thought there was a way to select individual packages and add them to the installation.

View 4 Replies View Related

Debian Configuration :: In Grub Disk Changed From Hd0 To Hd1?

Apr 26, 2011

We had a server failure this morning because grub was throwing error 15 (file not found). We discovered that the disk had changed names from hd0,0 to hd1,0. Making the appropriate replacements in menu.lst fixed the problem, but I'm still wondering what could have caused the spontaneous name change.

here are some other possibly related tidbits: * the server had been down because of a power loss, but it is behind a UPS so i doubt there is any electrical damage * eth0 also temporarily failed but the system failed over to eth1

My current theory is that when the bios was configuring the hardware the loss of eth0 shuffled around the addresses of the remaining hardware on the pci bus, which somehow caused the hd0/hd1 confusion. The problem is that everything i've read [URL] says that the drive assignment should be based on the way the disk is connected to the motherboard (which in this case didn't change)

View 2 Replies View Related

Debian Configuration :: /var Disk Space Is Completely Out?

Jul 11, 2011

I have deb6 installed in VMWARE ,i am posting my fstab config file

/dev/mapper/debian-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=0e7bc1e7-4f8c-4dee-a6e9-ae6d0669755e /boot ext2 defaults $
/dev/mapper/debian-home /home ext4 defaults 0 2

[code]....

View 14 Replies View Related

Debian Configuration :: Hard Disk Won't Stop Spinning Up / Down

Feb 11, 2015

I've bought a new notebook. The hard drive won't stop spinning down and then spinning up again during load. I don't want HD power saving, so I disabled it within

1. /etc/hdparm.conf
Code: Select all# -B apm setting
apm = 255
# -B apm setting when on battery
apm_battery = 255

It didn't work. I can still hear the HD spin up. It's annoying in a video game because things just suddenly stop for a second.

2. /etc/udev/rules.d/50-hdparm.rules

Code: Select allACTION=="add", SUBSYSTEM=="block", KERNEL=="sda", RUN+="/usr/bin/hdparm -B 255 -S 0 /dev/sda"

This was also every tip I could find during RTFM.

Other specs:

Acer Aspire E5-521G-88A8 Notebook
AMD A8-6410 APU
4 GB RAM
AMD Radeon R5 2 GB VRAM
hdparm model number: ST1000LM024 HN-M101MBB

Debian Jessie

View 8 Replies View Related

Debian Configuration :: Jessie WD Disk Mount Fail

Aug 20, 2015

A few days ago I upgraded from debian 7 to 8. First I update, upgrade and dist upgrade - change source list and again update, upgrade and dist upgrade.When inserting a USB disk on key, it works okay. When plugging my WD "My passport" backup USB disk it does not work. The automatic mount works, but the disk can be accessed.I tried to do it manually in a format that worked on debian 7..Manual mount fails too.

umount My passport
fdisk -l (to see device name)
mount -t vfat -o rw /dev/sdb1 /media/kuku/usb_mp4
dmesg | tail
[ 2381.080822] sd 9:0:0:0: [sdb] No Caching mode page found
[ 2381.080828] sd 9:0:0:0: [sdb] Assuming drive cache: write through

[code]....

View 2 Replies View Related

Debian Configuration :: Creating LUKS Encrypted USB Disk

Jan 15, 2016

Is it better to install LUKS to raw disk (/dev/sdb) or disk partition (/dev/sdb1)? What are best LUKS options?

"cryptsetup benchmark" output
Code: Select allPBKDF2-sha1      1310720 iterations per second
PBKDF2-sha256     862315 iterations per second
PBKDF2-sha512     590414 iterations per second

[Code] ....

Is slow hash better or how to choose it? It is clear that aes-xts is best choise. Is 265 bit key good?

View 3 Replies View Related

Debian Configuration :: Data Pool - ZFS Disk Labeling

Jan 31, 2016

I created my data pool using /dev/disk/by-id and things went well. a recent view of zpool status however showed /dev/sdb and /dev/sdc being used instead. how can I be sure a rearrangement of my disks wont cause error?

View 2 Replies View Related

Debian Configuration :: How To Get A Virtual RAID Image Disk

Feb 20, 2016

How can i get a RAID virtual image disk?

What i need is to mount several directories from any other partiton (or file system) as a new merge file system that can grow or decrease depending on the free space. As if it was a dinamic RAID,so i can work with huge files distributed over the partitions mounted.

Ejemp: /mnt/sda1/dir_raid1 + /home/dir_raid2 + /mnt/sda3/dir_raid3 ---> /mnt/RAID/

mhddfs and unionfs <---- are not the solution im searching (cant use huge files)

View 0 Replies View Related

Debian Configuration :: Missing Disk Space / Get It Back?

Feb 19, 2010

I seem to have a major discrepancy between what df reports and what du reports. df tells me that I am using 20G, but I am only able to find 9.5G using du. What follows are the ls -l of root, a df of my system, and the du for every directory in root that is not a symbolic link, mnt, or proc. I would appreciate any suggestions on where to look for the remaining 10.5G that seems to have disappeared.
I am running under VM Player code...

View 3 Replies View Related

Debian Configuration :: Use A Whole Disk Or A Partition In RAID Array?

Aug 31, 2010

concerning Linux, mdadm, and creating RAID Array's in Debian. I've done a lot of reading and research on RAID both on this board and elsewhere (The Linux Documentation Project's Software-RAID HOWTO is especially good), but I've run across something that no one seems to explain, and I'm not sure why. I'm instructed to create partitions on the drives I wish to add to my array. These partitions inevitably take up the whole disk, and are always have their system IDs set to "Linux raid autodetect". What I don't understand is why, after creating these partitions, some guides then go on to create an array (say a RAID5 one) with just the disks themselves as members, while others go on to create the RAID5 array with the previously created partitions as members. E.g.,

mdadm --create --verbose /dev/md0 --level=5 --raid-devices=4 /dev/sda /dev/sdb /dev/sdc /dev/sdd
vs.
mdadm --create --verbose /dev/md0 --level=5 --raid-devices=4 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1

What's the advantage of using one over the other?

View 3 Replies View Related

Debian Configuration :: Flash Disk And CDs After Complied New Kernel

May 18, 2011

im am new in compiling kernel, i had kernel 2.6.32-5 on debian 6 , so i compiled kernel 2.6.38.6 , my system can boot and up but i have a problem with flash disk and CDs and DVDs , now i cant mount these cases, in compiling i select CD-ROM /dvd filesystem and Dos/fat/NTFs filesystem too

View 1 Replies View Related

Debian Configuration :: PXE Boot Server - Adding ISO Disk 1 To PXE And Win10

Feb 24, 2016

I'm trying to setup a PXE server with Jessie. I've got the basic setup working by following the steps at [URL] .... That part was really easy. I would like to make the process as automated as possible and then add Win7/10 to the system as well.

The first hurdle I've come across is the fact that netboot downloads everything off the repositories. This has the potential to use up a lot of bandwidth and I would like to avoid this if possible. The first idea I came across was to create a local mirror, this way not only will I be installing everything off the LAN but I'll also be getting all the updates for my systems off the LAN too. I wasn't too keen on this. The other option that I read about was to use the debian ISOs instead.

What I have tried is to copy the Debian ISO to /var/www/html/debian

Then, when my boot via the pxe, i set the option to manually select a repository and then i type in the IP address for my webserver for the address and type in /debian for the mirror directory.

However it breaks at this point. I get a message saying "Downloading a file failed"

I would prefer the as much of the install to come from the ISO as possible to keep bandwidth usage to a minimum.

For Win10, I read that I have to use an AIK to build the Winpe and then boot that. Then I can load the Windows10 ISO via nfs through Winpe.

pxelinux.cfg/default
Code: Select allroot@DHCP:/srv/tftp# cat pxelinux.cfg/default
UI menu.c32
TITLE PXE Test Boot
LABEL Debian 8
   kernel linux
   append vga=normal preseed/url=http://192.168.0.254/debian/preseed.txt initrd=initrd.gz --

LABEL Windows 10
   kernel ??
   append ??

LABEL HardDrive Boot
   
This is a preseed I have setup so far

Code: Select all#### Contents of the preconfiguration file (for jessie)
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US

[Code] ....

View 0 Replies View Related

Debian Configuration :: Raid 5 Recovery After Mistakenly Removing Disk?

Aug 12, 2010

I've got an 8-disk raid-5 setup, and one of the disks failed. I shut the system down, replaced it, and powered the box back on again. Then, I made a catastrophic mistake; I 'failed' and removed the wrong disk (should have been sdj1, and I typed sdk1 by accident). I tried to re-add sdk1 back to the raid array, but it got listed as 'spare'. My raid array is off-line, since I now have 2 disks unavailable.

I know that the data still exists on sdk1, is there any way I can get the raid array to recognise the fact that it's a valid part of the array, and not a spare disk? At least if I can do that, I'll have a degraded but accessible array, and then I can rebuild the array on the properly replaced disk.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved