The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    less of an idiot (Ubuntu issues)

    Discussion in 'Linux Compatibility and Software' started by Wayne99, Dec 1, 2009.

  1. Wayne99

    Wayne99 Notebook Consultant

    Reputations:
    0
    Messages:
    164
    Likes Received:
    10
    Trophy Points:
    31
    I finally got Ubuntu 8.10 installed and working. Hurray! On my second try it saw wireless and connected. Hurray! I was able to get video and audio working. Hurray!

    Issue: when I hibernated after downloading several files, the monitor went black as usual, but the computer didnt shut off. After about 5 minutes I had no choice but to power off. When I rebooted the files I had downloaded to my desktop were gone. Next time it hibernated OK.

    This troubles me. I dont like losing files.
     
  2. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    You can force an fsck and then test hibernation again. Forcing an fsck at boot will probably give you less of a chance of filesystem corruption like losing files.

    To force fsck:
    Code:
    sudo sh -c ">/forcefsck"
     
  3. wearetheborg

    wearetheborg Notebook Virtuoso

    Reputations:
    1,282
    Messages:
    3,122
    Likes Received:
    0
    Trophy Points:
    105
    Hibernation in linux is a mess. It might be simpler and faster to just shut it down and restart.
     
  4. Wayne99

    Wayne99 Notebook Consultant

    Reputations:
    0
    Messages:
    164
    Likes Received:
    10
    Trophy Points:
    31
    Yeah, shutting down and rebooting doesnt take very long so thats certainly OK by me.

    New question: how can I access my windows drives/files when windows is hibernating? When I try I get error messages about mounting and deleting hibersomethings but I dont fully understand them. I would like to always have them available, and not have to go through an ordeal every time, if possible. My xp installation is on deaths door and takes forever to reboot if its not hibernating...

    And: how do I get Ubuntu to quit asking me to login at startup, and for doing every administrative thing I want to do?

    Thanks! I'm starting to have a little fun now...
     
  5. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    I don't know what you mean by access windows while hibernating, that doesn't make sense to me.

    auto login: System->Administration->Login Window->Security->Enable Automatic Login, select your username from the dropdown.

    You can give yourself more permissions by going to:
    System->Administration->Users and Groups->Click to make Changes
    Select your username, click Properties, go to the User Privileges tab, and check all the boxes.

    To get it to stop asking you for a password for sudo/gksudo you can change your /etc/sudoers file.

    Find the line that has your username and change it to read:
    username ALL=NOPASSWD: ALL
     
  6. Wayne99

    Wayne99 Notebook Consultant

    Reputations:
    0
    Messages:
    164
    Likes Received:
    10
    Trophy Points:
    31

    I just mean I want to access files on my 2 non-Ubuntu drives. It wont let me do that (unless I follow instructions I dont fully understand) if windows is hibernating, I have to have it completely shut down then those drives are available to me in Ubuntu.

    I'll try that process for the permissions, thanks
     
  7. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    I think I understand, you could probably mount them read only, but you should absolutely not write to a disk that has been hibernated, because it's impossible to tell what'll happen to it when you thaw. It's probably better not to touch it at all, but do it read-only if you are going to force it.
     
  8. Wayne99

    Wayne99 Notebook Consultant

    Reputations:
    0
    Messages:
    164
    Likes Received:
    10
    Trophy Points:
    31
    So I need to shut down windows completely if I want to use those files. Oh well, thats just another reason to never start it up again...

    But I have new, bigger problems. Last time I booted Ubuntu it said "unclean shutdown" and started what I presume was fcsk on its own. Then I got a bunch of messages including

    /dev/sda6: Unexpected inconsistencies; run fcsk manually (ie without -a or -p options)

    fcsk died with exit status 4

    *an automatic file system check of the root file system failed. A manual fsck should be performed in maintenance mode with the root file system in read-only mode.

    *the root file system is currently mounted in read only mode. A maintenance shell will now be started. After performing system maintenance press Control-D to terminate the shell and restart

    bash: no job control in this shelll
    -----------------------------------
    not knowing what to do but feeling adventurous, I typed fsck and pushed enter

    Twice it said something along the lines of Inode (numbers) is part of orphaned (something). Fix? This sounded innocuous enough so I said yes twice.

    Then It asked me a whole bunch of questions about whether to fix or repair this or that, and I lost my sense of adventure and said no to each one. At one point it mentioned one of the files that vanished earlier, and asked "Clear?", to which I said no. When it was done I rebooted and it ran the check again without incident. When I got back to my desktop 2 of the 3 files I had lost were back again. The missing one was the one I said "No" on.
    That doesnt bother me, I can download it again, but I obviously have other issues.

    Do I need to run fcsk again, and if so, how do I answer questions I dont understand? haha....this is fun, in a terrifying sort of way...but I'd gladly trade the fun for a computer that just works.
     
  9. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    You don't need to run it again now, generally you can run fsck with the -y flag to answer yes to all... it's usually safe. If you're going to do anything risky you can forcefsck before you do it, and hopefully avoid having to do an fsck by hand, which is usually the worst case.
     
  10. v1k1ng1001

    v1k1ng1001 Notebook Deity

    Reputations:
    239
    Messages:
    738
    Likes Received:
    0
    Trophy Points:
    30
    How did you format your ubuntu partition? If it is a non-journaling filesystem like ext2 you will run into more errors like this. If you are running on an ssd, then you should use ext2 anyway. Otherwise give ext3 or ext4 a shot.

    Yup, when you hibernate your windows partition you should not try to access it. That would be a bad deal. What you may consider doing is setting up another partition for sharing files between the two operating systems.
     
  11. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    also, install ntfs-config from the repo....it will automagically set your fstab for you to access your windows drive and any externals.
     
  12. Wayne99

    Wayne99 Notebook Consultant

    Reputations:
    0
    Messages:
    164
    Likes Received:
    10
    Trophy Points:
    31

    The drive was not formatted before I installed Ubuntu 9.10. I didnt like that installation. I tried to install 8.10 over the top but it asked questions I couldnt answer, so I just deleted the partition 9.10 was in and installed 8.10 in that space. It didnt ask me anything about formatting but it appears to me from df -T that ext3 is the file system. But if I'm not an idiot still I'm only one step away...
     
  13. Wayne99

    Wayne99 Notebook Consultant

    Reputations:
    0
    Messages:
    164
    Likes Received:
    10
    Trophy Points:
    31
    Explain please?
     
  14. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    Install ntfs-config from the repo. Then in a terminal, type and run

    Code:
    sudo ntfs-config
    the rest is self explanatory. Also check the box to mount external media.
     
  15. Bog

    Bog Losing it...

    Reputations:
    4,018
    Messages:
    6,046
    Likes Received:
    7
    Trophy Points:
    206
    What video card do you have?
     
  16. Wayne99

    Wayne99 Notebook Consultant

    Reputations:
    0
    Messages:
    164
    Likes Received:
    10
    Trophy Points:
    31
    New issue: my fan ran at high speed quite a bit last night, possibly related to when the computer was inactive for a while and running screensaver.
     
  17. BrandonSi

    BrandonSi Notebook Savant

    Reputations:
    571
    Messages:
    1,444
    Likes Received:
    0
    Trophy Points:
    55
    Was it a fancy, graphics intense screen saver? Try just a blank one and see if it happens.
     
  18. Charr

    Charr Notebook Deity

    Reputations:
    415
    Messages:
    1,564
    Likes Received:
    0
    Trophy Points:
    55
    Screensavers are usually ridiculously resource heavy. For a laptop, your best bet would be to have the display power down.
     
  19. Bog

    Bog Losing it...

    Reputations:
    4,018
    Messages:
    6,046
    Likes Received:
    7
    Trophy Points:
    206
    Screensavers are for literally saving CRT monitor lifetimes, though. Why the hell are they still around?
     
  20. wearetheborg

    wearetheborg Notebook Virtuoso

    Reputations:
    1,282
    Messages:
    3,122
    Likes Received:
    0
    Trophy Points:
    105
    Dont they also help LCDs ?

    At least the blank black ones should ?
     
  21. BrandonSi

    BrandonSi Notebook Savant

    Reputations:
    571
    Messages:
    1,444
    Likes Received:
    0
    Trophy Points:
    55
    Depends on what you mean by help, but in the sense of a screen saver helping CRT's, no, not really. Since an LCD is using the back-light to display black (it's not a true black like, say, OLED) it's best to just have it power off.

    Would you see any difference 2 years down the road from a blank screensaver vs powering down? Probably not, but the only actual way to "extend" the life of your screen is not to use it.
     
  22. Charr

    Charr Notebook Deity

    Reputations:
    415
    Messages:
    1,564
    Likes Received:
    0
    Trophy Points:
    55
    Only way they could help is by unstucking a pixel. Otherwise, they are just burning out the backlight.
     
  23. wearetheborg

    wearetheborg Notebook Virtuoso

    Reputations:
    1,282
    Messages:
    3,122
    Likes Received:
    0
    Trophy Points:
    105
    Do LCD lifespans get shortened if the LCD is powered down and up repeatedly several times a day ?
     
  24. Bog

    Bog Losing it...

    Reputations:
    4,018
    Messages:
    6,046
    Likes Received:
    7
    Trophy Points:
    206
    I don't think I've yet heard of an LCD panel failing. The backlights are the most susceptible to failure and their life spans are probably shortened by repeated power-ons, but manufacturers are steadily switching to LED backlighting.