UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
hello,I had to reinstall windows and then GRUB was gone. With the LiveCD I did:
>sudo grub
>find /boot/grub/stage1
put the result ( which was hda0,1) in like this:
>setup (hda0)
>quit
I rebooted and my grub menu was there. I selected the Linux kernel I Wanted to boot, but it gave me an error telling me that the device isn't bootable or something like that. So I tried again, tried every one of the ubuntu entries besides the memtest. And I keep on getting a message that says that the partition "can't be mounted".
Is it because I installed ubuntu on a JFS-formatted partition, rather than EXT2/3?
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS
/dev/sda2 3825 9547 45969997+ 83 Linux
/dev/sda3 9548 9729 1461915 82 Linux swap / Solaris
Disk /dev/sdb: 30.0 GB, 30016659456 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 3649 29310561 c W95 FAT32 (LBA)
pls reboot the live cd and click on the icon for sda2 and post your /etc/fstab pls and /boot/grub/menu.lst
if you do not have an icon on the live cd desktop...mount it manually with
Code:
su
mkdir /z
mount -t jfs /dev/sda2 /z
you then use the live cd to navigate to /z/etc/fstab or /z/boot/grub/menu.lst
There's no icon, If I try to mount, I get this notorious message:
ubuntu@ubuntu:~$ sudo mkdir /z
ubuntu@ubuntu:~$ sudo mount -t jfs /dev/sda2 /z
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
the /etc/fstab you are showing is the live cd one and what is the name and version of your live cd pls?
2) I made it jfs because you said that is what you used in post 1.
3) lets confirm with the live cd run
fdisk /dev/sda (or hda) ....or run qtparted or run gparted depending on what package is on your live cd....that will tell us what the partition tool thinks of your current partition filesystem
I am using Ubuntu LiveCD, yes.
I didn't use the default setting ( EXT3 ) I chose JFS when installing, to test it, so far I liked it more than the other three I used before ( EXT3,EX2, and ReiserFS ).
since you know how to get into the partition tool....right hand click on sda2 and find the option for flags and check "bootable" and exit.....see if that helps
since you know how to get into the partition tool....right hand click on sda2 and find the option for flags and check "bootable" and exit.....see if that helps
Done, flagged it bootable. Still doesn't boot when I select it: Error 17.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.