LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-07-2009, 09:32 PM   #1
stoppage
Member
 
Registered: Oct 2007
Posts: 74

Rep: Reputation: 15
upgrade problem 7.10 to 8.04


On an upgrade from 7.10 to 8.04 Ubuntu refused the restart....on a maintenance shell it registered „fsck died with exit status 8...file system check failed, please repair manually“. Apparently its a problem with hda7, home folder. Can somebody please hel me out here?
 
Old 03-07-2009, 09:57 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
well you need to run fsck hda7. two ways boot up in recovery mode or if you are booted into a system as root umount /dev/hda7 then fsck -y /dev/hda7 some systems require you to type e2fsck instead of fsck.

Last edited by Drakeo; 03-07-2009 at 10:00 PM.
 
Old 03-08-2009, 03:16 AM   #3
stoppage
Member
 
Registered: Oct 2007
Posts: 74

Original Poster
Rep: Reputation: 15
fsck doesn't show any problems...

Reiserfs journal '/dev/hda7' in blocks [18..8211]: 0 transactions replayed
Checking internal tree..finished
Comparing bitmaps..finished
Checking Semantic tree:
finished
No corruptions found
There are on the filesystem:
Leaves 1381
Internal nodes 10
Directories 1310
Other files 7356
Data block pointers 141685 (2568 of them are zero)
Safe links 0
###########
reiserfsck finished at Sun Mar 8 04:57:40 2009
 
Old 03-09-2009, 07:59 PM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
post your /etc/fstab file and your /boot/grub/menu.1st file
 
Old 03-10-2009, 11:29 AM   #5
stoppage
Member
 
Registered: Oct 2007
Posts: 74

Original Poster
Rep: Reputation: 15
# /etc/fstab: static file system information.

#

# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0

# /dev/hda5

UUID=c5101ab0-f78e-4ea9-847f-2d9a3dc46a3a / reiserfs notail 0 1

# /dev/sda1

UUID=13DCF6A55EFADC19 /media/sda1 ntfs defaults,nls=utf8,umask=007,gid=46 0 1

# /dev/sda5

UUID=4F73DA99F0DCD0C4 /media/sda5 ntfs defaults,nls=utf8,umask=007,gid=46 0 1

# /dev/sda6

UUID=B2C4ABDA5DF0D5B9 /media/sda6 ntfs defaults,nls=utf8,umask=007,gid=46 0 1

# /dev/hda6

UUID=203ed7dd-9c2b-4c14-bd42-6acb54356e61 none swap sw 0 0

/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0

/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0

/dev/hda7 /home reiserfs nodev,nosuid 0 2


# menu.lst - See: grub(8), info grub, update-grub(8)
..................................................................................
## ## End Default Options ##



title Ubuntu 8.04.2, kernel 2.6.24-23-generic

root (hd0,4)

kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=c5101ab0-f78e-4ea9-847f-2d9a3dc46a3a ro quiet splash

initrd /boot/initrd.img-2.6.24-23-generic

quiet



title Ubuntu 8.04.2, kernel 2.6.24-23-generic (recovery mode)

root (hd0,4)

kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=c5101ab0-f78e-4ea9-847f-2d9a3dc46a3a ro single

initrd /boot/initrd.img-2.6.24-23-generic



title Ubuntu 8.04.2, memtest86+

root (hd0,4)

kernel /boot/memtest86+.bin

quiet



### END DEBIAN AUTOMAGIC KERNELS LIST



# This is a divider, added to separate the menu items below from the Debian

# ones.

title Other operating systems:

root





# This entry automatically added by the Debian installer for a non-linux OS

# on /dev/sda1

title Microsoft Windows XP Professional

root (hd1,0)

savedefault

makeactive

map (hd0) (hd1)

map (hd1) (hd0)

chainloader +1
 
Old 03-11-2009, 10:52 PM   #6
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
/dev/hda7 /home reiserfs notail,users 0 2
try this.
 
Old 03-12-2009, 06:52 PM   #7
stoppage
Member
 
Registered: Oct 2007
Posts: 74

Original Poster
Rep: Reputation: 15
The system won't recognise /dev/hda7 because on upgrade to 8.04 partition allocations/names change....
Current fdisk -l output, live CD 8.04.2

Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3ddf3dde

Device Boot Start End Blocks Id System
/dev/sda2 * 2 9729 78140160 f W95 Ext'd (LBA)
/dev/sda5 2 6375 51199123+ 83 Linux
/dev/sda6 6376 6694 2562336 82 Linux swap / Solaris
/dev/sda7 6695 7331 5116671 83 Linux

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1fdc1fdb

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 12749 102406311 7 HPFS/NTFS
/dev/sdb2 12750 38913 210162330 f W95 Ext'd (LBA)
/dev/sdb5 12750 22311 76806733+ 7 HPFS/NTFS
/dev/sdb6 22312 25499 25607578+ 7 HPFS/NTFS
/dev/sdb7 25500 25742 1951866 82 Linux swap / Solaris
/dev/sdb8 25743 28302 20563168+ 83 Linux
/dev/sdb9 28303 37863 76798701 83 Linux
/dev/sdb10 37864 38913 8434093+ 83 Linux
ubuntu@ubuntu:~$



....but when fdisk -l is exercised on bootup/recovery mode sdb1-10 becomes sda1-10 and sda2...becomes becomes sdb2....
Is this normal?
 
Old 03-13-2009, 08:50 AM   #8
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
/dev/sda7 /home reiserfs defaults 0 0
try this.edit your /etc/fstab
Quote:
...but when fdisk -l is exercised on bootup/recovery mode sdb1-10 becomes sda1-10 and sda2...becomes becomes sdb2....
Is this normal?
yes this is normal the ubuntu to system does not use hda or any hdx any more. this was to keep the auto mount of external drives simple. It is just there scripts and for them it is much more simple for there custom kernel to treat everything as a scsi device it forces the system to read the device then load it. either at boot or when plugging in an external device.

Last edited by Drakeo; 03-13-2009 at 08:58 AM.
 
Old 03-14-2009, 09:09 AM   #9
stoppage
Member
 
Registered: Oct 2007
Posts: 74

Original Poster
Rep: Reputation: 15
O.k.,but why change designation from sda to sdb....it just makes things more difficult!
 
Old 03-14-2009, 01:09 PM   #10
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by stoppage View Post
O.k.,but why change designation from sda to sdb....it just makes things more difficult!
Try assigning your partitions in fstab by their uuids. Ubuntu now sets up fstab and grub's menu.lst by uuids. To get the uuids for your partitions run:
Code:
sudo blkid
or
Code:
ls -l /dev/disk/by-uuid/
Then change your fstab for /dev/sda7 so it looks like the entry for /dev/hda5. Something like:
Code:
#/dev/sda7
uuid_number /home reiserfs notail,users 0 2
Where uuid_number is the output you get for /dev/sda7 in blkid. This should avoid any hda / sda or sda / sdb naming issues.
 
Old 03-15-2009, 03:29 PM   #11
stoppage
Member
 
Registered: Oct 2007
Posts: 74

Original Poster
Rep: Reputation: 15
Works with UUID's, now booting into Hardy.
That was my "test" installation. I`ve just upgraded my "working" system (also "Hardy")
Problem...
boot menu still shows „Ubuntu 7.10 Kernel 2.6.22.16“

..$ cat /etc/issue
Ubuntu 8.04.2 \n \l

..$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.2
Release: 8.04
Codename: hardy

HUH?!

Last edited by stoppage; 03-15-2009 at 03:30 PM. Reason: spelling
 
Old 03-15-2009, 08:31 PM   #12
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by stoppage View Post
Works with UUID's, now booting into Hardy.
That was my "test" installation. I`ve just upgraded my "working" system (also "Hardy")
Problem...
boot menu still shows „Ubuntu 7.10 Kernel 2.6.22.16“
..$ cat /etc/issue
Ubuntu 8.04.2 \n \l
Does the grub menu list the entries for Hardy? I assume it is since the output of cat /etc/issue ans lsb_release -a shows Hardy.
You can just edit the /boot/grub/menu.lst and remove the entries for Ubuntu 7.10. Add any entries for Hardy to menu.lst if you need to.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade problem satimis Ubuntu 2 08-17-2006 07:11 PM
Upgrade 10.0 ---> 10.1 problem cragwolf Slackware 4 05-28-2005 06:31 PM
upgrade 2.4.29 to 2.6.11 problem GaMeS Slackware 3 03-07-2005 08:30 AM
Problem to upgrade... os2 SUSE / openSUSE 2 02-18-2005 02:40 PM
upgrade problem lvieira Debian 1 02-11-2004 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration